google-cloud-ai_platform-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +10 -4
  3. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +95 -0
  4. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  5. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  6. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +2 -1
  7. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +0 -1
  8. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +0 -1
  9. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +0 -2
  10. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +0 -2
  11. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +0 -2
  12. data/lib/google/cloud/aiplatform/v1/context_pb.rb +0 -2
  13. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +0 -1
  14. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +0 -1
  15. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +0 -3
  16. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +0 -1
  17. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +0 -1
  18. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +0 -1
  19. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +0 -1
  20. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +0 -1
  21. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +7 -3
  22. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -2
  23. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +0 -1
  24. data/lib/google/cloud/aiplatform/v1/event_pb.rb +0 -1
  25. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +0 -2
  26. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +0 -1
  27. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +0 -2
  28. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +0 -1
  29. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +13 -1
  30. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +0 -1
  31. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +56 -0
  32. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +0 -1
  33. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -2
  34. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +0 -1
  35. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +0 -2
  36. data/lib/google/cloud/aiplatform/v1/index_pb.rb +0 -2
  37. data/lib/google/cloud/aiplatform/v1/io_pb.rb +0 -1
  38. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +0 -1
  39. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +0 -1
  40. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +0 -1
  41. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +0 -1
  42. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +0 -1
  43. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +0 -1
  44. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +0 -1
  45. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +0 -2
  46. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +0 -1
  47. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +8 -1
  48. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +0 -1
  49. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +0 -1
  50. data/lib/google/cloud/aiplatform/v1/model_pb.rb +0 -2
  51. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +5 -2
  52. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
  53. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +0 -1
  54. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +0 -1
  55. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +0 -1
  56. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +0 -1
  57. data/lib/google/cloud/aiplatform/v1/study_pb.rb +0 -1
  58. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +0 -1
  59. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +0 -1
  60. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +0 -1
  61. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +0 -1
  62. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +0 -1
  63. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +0 -3
  64. data/lib/google/cloud/aiplatform/v1/types_pb.rb +0 -1
  65. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +0 -1
  66. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +0 -1
  67. data/lib/google/cloud/aiplatform/v1/value_pb.rb +0 -1
  68. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +6 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +24 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +11 -0
  71. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +45 -0
  72. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +164 -0
  73. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +10 -3
  74. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +50 -8
  75. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -1
  76. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +13 -0
  77. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceb562edf0a81beadd3c22aed51c8552e8cec37c8ebdb680edce1c632db9b557
4
- data.tar.gz: 23fbb1c15962cbd88fdf677c99476c419ae8632b38d55c9e539178df7b1d5946
3
+ metadata.gz: 3a26dd5792b3d9b8966c82052879077619c83631fdf8ba9bfa6fd88b2c084b24
4
+ data.tar.gz: ff89242e65c90c6c05fd14bc91774d7b3ecd388a9513bbf98250401a1435759a
5
5
  SHA512:
6
- metadata.gz: 664bf063f56684351d511fa0be58f709485781bed9810e7dbd476d6d5aa8c46e919d7ec043c4f2457235295f2e8bb38e37e19e0d488d6c0805c2ebc5f224f2f2
7
- data.tar.gz: 2d3649eebf60f5eb51adbd8837b7ffc0d9c950092f8e2e3b1ba51ede9e021ea407c4f883281baabac6ae8ebf45d7f72b49607ae707da8dff3ff8a4514fec8399
6
+ metadata.gz: 233b3f8cb1ffcf5f8019ac6fe9f8285c076f2481afdd4ffc95d6ff4926b410cdc8f9882eeb8285e318796801bcf873f1e1f65fcbf5cbeadaeba691d0bf365f5e
7
+ data.tar.gz: a6cfae28577bce375ea6a9c53359a75f93c71a8f79260b36cfd875af7bb3a37d03c9eeb3656e62b1b35cb62775ecc376b56087e9e987a8cfca7431fb1536376e
@@ -1059,7 +1059,12 @@ module Google
1059
1059
  # * `description`
1060
1060
  # * `labels`
1061
1061
  # * `monitoring_config.snapshot_analysis.disabled`
1062
- # * `monitoring_config.snapshot_analysis.monitoring_interval`
1062
+ # * `monitoring_config.snapshot_analysis.monitoring_interval_days`
1063
+ # * `monitoring_config.snapshot_analysis.staleness_days`
1064
+ # * `monitoring_config.import_features_analysis.state`
1065
+ # * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
1066
+ # * `monitoring_config.numerical_threshold_config.value`
1067
+ # * `monitoring_config.categorical_threshold_config.value`
1063
1068
  #
1064
1069
  # @yield [response, operation] Access the result along with the RPC operation
1065
1070
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::EntityType]
@@ -1696,8 +1701,7 @@ module Google
1696
1701
  #
1697
1702
  # * `description`
1698
1703
  # * `labels`
1699
- # * `monitoring_config.snapshot_analysis.disabled`
1700
- # * `monitoring_config.snapshot_analysis.monitoring_interval`
1704
+ # * `disable_monitoring`
1701
1705
  #
1702
1706
  # @yield [response, operation] Access the result along with the RPC operation
1703
1707
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
@@ -1890,7 +1894,7 @@ module Google
1890
1894
  # @param options [::Gapic::CallOptions, ::Hash]
1891
1895
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1892
1896
  #
1893
- # @overload import_feature_values(avro_source: nil, bigquery_source: nil, csv_source: nil, feature_time_field: nil, feature_time: nil, entity_type: nil, entity_id_field: nil, feature_specs: nil, disable_online_serving: nil, worker_count: nil)
1897
+ # @overload import_feature_values(avro_source: nil, bigquery_source: nil, csv_source: nil, feature_time_field: nil, feature_time: nil, entity_type: nil, entity_id_field: nil, feature_specs: nil, disable_online_serving: nil, worker_count: nil, disable_ingestion_analysis: nil)
1894
1898
  # Pass arguments to `import_feature_values` via keyword arguments. Note that at
1895
1899
  # least one keyword argument is required. To specify no parameters, or to keep all
1896
1900
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1926,6 +1930,8 @@ module Google
1926
1930
  # serving. The value must be positive, and less than or equal to 100.
1927
1931
  # If not set, defaults to using 1 worker. The low count ensures minimal
1928
1932
  # impact on online serving performance.
1933
+ # @param disable_ingestion_analysis [::Boolean]
1934
+ # If true, API doesn't start ingestion analysis pipeline.
1929
1935
  #
1930
1936
  # @yield [response, operation] Access the result along with the RPC operation
1931
1937
  # @yieldparam response [::Gapic::Operation]
@@ -749,6 +749,94 @@ module Google
749
749
  raise ::Google::Cloud::Error.from_error(e)
750
750
  end
751
751
 
752
+ ##
753
+ # Imports an externally generated ModelEvaluation.
754
+ #
755
+ # @overload import_model_evaluation(request, options = nil)
756
+ # Pass arguments to `import_model_evaluation` via a request object, either of type
757
+ # {::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest} or an equivalent Hash.
758
+ #
759
+ # @param request [::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Hash]
760
+ # A request object representing the call parameters. Required. To specify no
761
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
762
+ # @param options [::Gapic::CallOptions, ::Hash]
763
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
764
+ #
765
+ # @overload import_model_evaluation(parent: nil, model_evaluation: nil)
766
+ # Pass arguments to `import_model_evaluation` via keyword arguments. Note that at
767
+ # least one keyword argument is required. To specify no parameters, or to keep all
768
+ # the default parameter values, pass an empty Hash as a request object (see above).
769
+ #
770
+ # @param parent [::String]
771
+ # Required. The name of the parent model resource.
772
+ # Format: `projects/{project}/locations/{location}/models/{model}`
773
+ # @param model_evaluation [::Google::Cloud::AIPlatform::V1::ModelEvaluation, ::Hash]
774
+ # Required. Model evaluation resource to be imported.
775
+ #
776
+ # @yield [response, operation] Access the result along with the RPC operation
777
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::ModelEvaluation]
778
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
779
+ #
780
+ # @return [::Google::Cloud::AIPlatform::V1::ModelEvaluation]
781
+ #
782
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
783
+ #
784
+ # @example Basic example
785
+ # require "google/cloud/ai_platform/v1"
786
+ #
787
+ # # Create a client object. The client can be reused for multiple calls.
788
+ # client = Google::Cloud::AIPlatform::V1::ModelService::Client.new
789
+ #
790
+ # # Create a request. To set request fields, pass in keyword arguments.
791
+ # request = Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest.new
792
+ #
793
+ # # Call the import_model_evaluation method.
794
+ # result = client.import_model_evaluation request
795
+ #
796
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::ModelEvaluation.
797
+ # p result
798
+ #
799
+ def import_model_evaluation request, options = nil
800
+ raise ::ArgumentError, "request must be provided" if request.nil?
801
+
802
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest
803
+
804
+ # Converts hash and nil to an options object
805
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
806
+
807
+ # Customize the options with defaults
808
+ metadata = @config.rpcs.import_model_evaluation.metadata.to_h
809
+
810
+ # Set x-goog-api-client and x-goog-user-project headers
811
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
812
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
813
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
814
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
815
+
816
+ header_params = {}
817
+ if request.parent
818
+ header_params["parent"] = request.parent
819
+ end
820
+
821
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
822
+ metadata[:"x-goog-request-params"] ||= request_params_header
823
+
824
+ options.apply_defaults timeout: @config.rpcs.import_model_evaluation.timeout,
825
+ metadata: metadata,
826
+ retry_policy: @config.rpcs.import_model_evaluation.retry_policy
827
+
828
+ options.apply_defaults timeout: @config.timeout,
829
+ metadata: @config.metadata,
830
+ retry_policy: @config.retry_policy
831
+
832
+ @model_service_stub.call_rpc :import_model_evaluation, request, options: options do |response, operation|
833
+ yield response, operation if block_given?
834
+ return response
835
+ end
836
+ rescue ::GRPC::BadStatus => e
837
+ raise ::Google::Cloud::Error.from_error(e)
838
+ end
839
+
752
840
  ##
753
841
  # Gets a ModelEvaluation.
754
842
  #
@@ -1300,6 +1388,11 @@ module Google
1300
1388
  #
1301
1389
  attr_reader :export_model
1302
1390
  ##
1391
+ # RPC-specific configuration for `import_model_evaluation`
1392
+ # @return [::Gapic::Config::Method]
1393
+ #
1394
+ attr_reader :import_model_evaluation
1395
+ ##
1303
1396
  # RPC-specific configuration for `get_model_evaluation`
1304
1397
  # @return [::Gapic::Config::Method]
1305
1398
  #
@@ -1334,6 +1427,8 @@ module Google
1334
1427
  @delete_model = ::Gapic::Config::Method.new delete_model_config
1335
1428
  export_model_config = parent_rpcs.export_model if parent_rpcs.respond_to? :export_model
1336
1429
  @export_model = ::Gapic::Config::Method.new export_model_config
1430
+ import_model_evaluation_config = parent_rpcs.import_model_evaluation if parent_rpcs.respond_to? :import_model_evaluation
1431
+ @import_model_evaluation = ::Gapic::Config::Method.new import_model_evaluation_config
1337
1432
  get_model_evaluation_config = parent_rpcs.get_model_evaluation if parent_rpcs.respond_to? :get_model_evaluation
1338
1433
  @get_model_evaluation = ::Gapic::Config::Method.new get_model_evaluation_config
1339
1434
  list_model_evaluations_config = parent_rpcs.list_model_evaluations if parent_rpcs.respond_to? :list_model_evaluations
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -39,6 +39,8 @@ module Google
39
39
  ##
40
40
  # To load this package, including all its services, and instantiate a client:
41
41
  #
42
+ # @example
43
+ #
42
44
  # require "google/cloud/ai_platform/v1"
43
45
  # client = ::Google::Cloud::AIPlatform::V1::DatasetService::Client.new
44
46
  #
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/accelerator_type.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -14,6 +13,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
13
  value :NVIDIA_TESLA_P4, 4
15
14
  value :NVIDIA_TESLA_T4, 5
16
15
  value :NVIDIA_TESLA_A100, 8
16
+ value :TPU_V2, 6
17
+ value :TPU_V3, 7
17
18
  end
18
19
  end
19
20
  end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/annotation.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/user_action_reference_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/annotation_spec.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/artifact.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/value_pb'
8
6
  require 'google/protobuf/struct_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/batch_prediction_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/completion_stats_pb'
@@ -11,7 +10,6 @@ require 'google/cloud/aiplatform/v1/io_pb'
11
10
  require 'google/cloud/aiplatform/v1/job_state_pb'
12
11
  require 'google/cloud/aiplatform/v1/machine_resources_pb'
13
12
  require 'google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb'
14
- require 'google/cloud/aiplatform/v1/model_monitoring_pb'
15
13
  require 'google/cloud/aiplatform/v1/unmanaged_container_model_pb'
16
14
  require 'google/protobuf/struct_pb'
17
15
  require 'google/protobuf/timestamp_pb'
@@ -1,9 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/completion_stats.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
- require 'google/rpc/status_pb'
7
5
  require 'google/protobuf'
8
6
 
9
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/context.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/value_pb'
8
6
  require 'google/protobuf/struct_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/custom_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/data_item.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/struct_pb'
@@ -1,13 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/data_labeling_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/accelerator_type_pb'
8
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
9
7
  require 'google/cloud/aiplatform/v1/job_state_pb'
10
- require 'google/cloud/aiplatform/v1/specialist_pool_pb'
11
8
  require 'google/protobuf/struct_pb'
12
9
  require 'google/protobuf/timestamp_pb'
13
10
  require 'google/rpc/status_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/dataset.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -10,7 +10,6 @@ require 'google/cloud/aiplatform/v1/annotation_spec_pb'
10
10
  require 'google/cloud/aiplatform/v1/data_item_pb'
11
11
  require 'google/cloud/aiplatform/v1/dataset_pb'
12
12
  require 'google/cloud/aiplatform/v1/operation_pb'
13
- require 'google/cloud/aiplatform/v1/training_pipeline_pb'
14
13
  require 'google/longrunning/operations_pb'
15
14
  require 'google/protobuf/field_mask_pb'
16
15
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/deployed_index_ref.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/deployed_model_ref.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/encryption_spec.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -1,15 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/endpoint.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
8
7
  require 'google/cloud/aiplatform/v1/explanation_pb'
9
8
  require 'google/cloud/aiplatform/v1/io_pb'
10
9
  require 'google/cloud/aiplatform/v1/machine_resources_pb'
11
- require 'google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb'
12
- require 'google/cloud/aiplatform/v1/model_monitoring_pb'
13
10
  require 'google/protobuf/timestamp_pb'
14
11
  require 'google/protobuf'
15
12
 
@@ -29,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
26
  optional :network, :string, 13
30
27
  optional :enable_private_service_connect, :bool, 17
31
28
  optional :model_deployment_monitoring_job, :string, 14
29
+ optional :predict_request_response_logging_config, :message, 18, "google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig"
32
30
  end
33
31
  add_message "google.cloud.aiplatform.v1.DeployedModel" do
34
32
  optional :id, :string, 1
@@ -51,6 +49,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
51
49
  optional :health_http_uri, :string, 3
52
50
  optional :service_attachment, :string, 4
53
51
  end
52
+ add_message "google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig" do
53
+ optional :enabled, :bool, 1
54
+ optional :sampling_rate, :double, 2
55
+ optional :bigquery_destination, :message, 3, "google.cloud.aiplatform.v1.BigQueryDestination"
56
+ end
54
57
  end
55
58
  end
56
59
 
@@ -61,6 +64,7 @@ module Google
61
64
  Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Endpoint").msgclass
62
65
  DeployedModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeployedModel").msgclass
63
66
  PrivateEndpoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PrivateEndpoints").msgclass
67
+ PredictRequestResponseLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig").msgclass
64
68
  end
65
69
  end
66
70
  end
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/entity_type.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/feature_pb'
6
+ require 'google/cloud/aiplatform/v1/featurestore_monitoring_pb'
8
7
  require 'google/protobuf/timestamp_pb'
9
8
  require 'google/protobuf'
10
9
 
@@ -17,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
16
  optional :update_time, :message, 4, "google.protobuf.Timestamp"
18
17
  map :labels, :string, :string, 6
19
18
  optional :etag, :string, 7
19
+ optional :monitoring_config, :message, 8, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig"
20
20
  end
21
21
  end
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/env_var.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/event.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/execution.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/value_pb'
8
6
  require 'google/protobuf/struct_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/explanation_metadata.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf/struct_pb'
7
6
  require 'google/protobuf'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/explanation.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/cloud/aiplatform/v1/explanation_metadata_pb'
7
- require 'google/cloud/aiplatform/v1/io_pb'
8
6
  require 'google/protobuf/struct_pb'
9
7
  require 'google/protobuf'
10
8
 
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/feature_monitoring_stats.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf/timestamp_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/feature.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/feature_monitoring_stats_pb'
@@ -18,6 +17,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
17
  optional :update_time, :message, 5, "google.protobuf.Timestamp"
19
18
  map :labels, :string, :string, 6
20
19
  optional :etag, :string, 7
20
+ optional :disable_monitoring, :bool, 12
21
+ repeated :monitoring_stats_anomalies, :message, 11, "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly"
22
+ end
23
+ add_message "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly" do
24
+ optional :objective, :enum, 1, "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective"
25
+ optional :feature_stats_anomaly, :message, 2, "google.cloud.aiplatform.v1.FeatureStatsAnomaly"
26
+ end
27
+ add_enum "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective" do
28
+ value :OBJECTIVE_UNSPECIFIED, 0
29
+ value :IMPORT_FEATURE_ANALYSIS, 1
30
+ value :SNAPSHOT_ANALYSIS, 2
21
31
  end
22
32
  add_enum "google.cloud.aiplatform.v1.Feature.ValueType" do
23
33
  value :VALUE_TYPE_UNSPECIFIED, 0
@@ -39,6 +49,8 @@ module Google
39
49
  module AIPlatform
40
50
  module V1
41
51
  Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Feature").msgclass
52
+ Feature::MonitoringStatsAnomaly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly").msgclass
53
+ Feature::MonitoringStatsAnomaly::Objective = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective").enummodule
42
54
  Feature::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Feature.ValueType").enummodule
43
55
  end
44
56
  end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/feature_selector.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -0,0 +1,56 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/aiplatform/v1/featurestore_monitoring.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/aiplatform/v1/featurestore_monitoring.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig" do
9
+ optional :snapshot_analysis, :message, 1, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis"
10
+ optional :import_features_analysis, :message, 2, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis"
11
+ optional :numerical_threshold_config, :message, 3, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig"
12
+ optional :categorical_threshold_config, :message, 4, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig"
13
+ end
14
+ add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis" do
15
+ optional :disabled, :bool, 1
16
+ optional :monitoring_interval_days, :int32, 3
17
+ optional :staleness_days, :int32, 4
18
+ end
19
+ add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis" do
20
+ optional :state, :enum, 1, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State"
21
+ optional :anomaly_detection_baseline, :enum, 2, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline"
22
+ end
23
+ add_enum "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State" do
24
+ value :STATE_UNSPECIFIED, 0
25
+ value :DEFAULT, 1
26
+ value :ENABLED, 2
27
+ value :DISABLED, 3
28
+ end
29
+ add_enum "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline" do
30
+ value :BASELINE_UNSPECIFIED, 0
31
+ value :LATEST_STATS, 1
32
+ value :MOST_RECENT_SNAPSHOT_STATS, 2
33
+ value :PREVIOUS_IMPORT_FEATURES_STATS, 3
34
+ end
35
+ add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig" do
36
+ oneof :threshold do
37
+ optional :value, :double, 1
38
+ end
39
+ end
40
+ end
41
+ end
42
+
43
+ module Google
44
+ module Cloud
45
+ module AIPlatform
46
+ module V1
47
+ FeaturestoreMonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig").msgclass
48
+ FeaturestoreMonitoringConfig::SnapshotAnalysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis").msgclass
49
+ FeaturestoreMonitoringConfig::ImportFeaturesAnalysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis").msgclass
50
+ FeaturestoreMonitoringConfig::ImportFeaturesAnalysis::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State").enummodule
51
+ FeaturestoreMonitoringConfig::ImportFeaturesAnalysis::Baseline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline").enummodule
52
+ FeaturestoreMonitoringConfig::ThresholdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig").msgclass
53
+ end
54
+ end
55
+ end
56
+ end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/featurestore.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -7,10 +7,8 @@ require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/aiplatform/v1/entity_type_pb'
9
9
  require 'google/cloud/aiplatform/v1/feature_pb'
10
- require 'google/cloud/aiplatform/v1/feature_monitoring_stats_pb'
11
10
  require 'google/cloud/aiplatform/v1/feature_selector_pb'
12
11
  require 'google/cloud/aiplatform/v1/featurestore_pb'
13
- require 'google/cloud/aiplatform/v1/featurestore_online_service_pb'
14
12
  require 'google/cloud/aiplatform/v1/io_pb'
15
13
  require 'google/cloud/aiplatform/v1/operation_pb'
16
14
  require 'google/longrunning/operations_pb'
@@ -54,6 +52,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
54
52
  repeated :feature_specs, :message, 8, "google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec"
55
53
  optional :disable_online_serving, :bool, 9
56
54
  optional :worker_count, :int32, 11
55
+ optional :disable_ingestion_analysis, :bool, 12
57
56
  oneof :source do
58
57
  optional :avro_source, :message, 2, "google.cloud.aiplatform.v1.AvroSource"
59
58
  optional :bigquery_source, :message, 3, "google.cloud.aiplatform.v1.BigQuerySource"
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/custom_job_pb'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/index_endpoint.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/index_pb'
8
6
  require 'google/cloud/aiplatform/v1/machine_resources_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/protobuf'