google-cloud-ai_platform-v1 1.42.0 → 1.44.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +101 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb +94 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/session_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/session_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/session_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/session_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_services_pb.rb +2 -0
- data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine_execution_service.rb +25 -0
- metadata +3 -3
|
@@ -711,6 +711,7 @@ module Google
|
|
|
711
711
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
712
712
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
713
713
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
714
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
714
715
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
715
716
|
# trigger a retry.
|
|
716
717
|
# @return [::Hash]
|
|
@@ -794,6 +795,7 @@ module Google
|
|
|
794
795
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
795
796
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
796
797
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
798
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
797
799
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
798
800
|
# trigger a retry.
|
|
799
801
|
#
|
|
@@ -1834,6 +1834,7 @@ module Google
|
|
|
1834
1834
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1835
1835
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1836
1836
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1837
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1837
1838
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1838
1839
|
# trigger a retry.
|
|
1839
1840
|
# @return [::Hash]
|
|
@@ -1913,6 +1914,7 @@ module Google
|
|
|
1913
1914
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1914
1915
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1915
1916
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1917
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1916
1918
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1917
1919
|
# trigger a retry.
|
|
1918
1920
|
#
|
|
@@ -640,6 +640,7 @@ module Google
|
|
|
640
640
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
641
641
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
642
642
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
643
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
643
644
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
644
645
|
# trigger a retry.
|
|
645
646
|
# @return [::Hash]
|
|
@@ -712,6 +713,7 @@ module Google
|
|
|
712
713
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
713
714
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
714
715
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
716
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
715
717
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
716
718
|
# trigger a retry.
|
|
717
719
|
#
|
|
@@ -907,6 +907,7 @@ module Google
|
|
|
907
907
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
908
908
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
909
909
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
910
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
910
911
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
911
912
|
# trigger a retry.
|
|
912
913
|
# @return [::Hash]
|
|
@@ -990,6 +991,7 @@ module Google
|
|
|
990
991
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
991
992
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
992
993
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
994
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
993
995
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
994
996
|
# trigger a retry.
|
|
995
997
|
#
|
|
@@ -711,6 +711,7 @@ module Google
|
|
|
711
711
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
712
712
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
713
713
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
714
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
714
715
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
715
716
|
# trigger a retry.
|
|
716
717
|
# @return [::Hash]
|
|
@@ -794,6 +795,7 @@ module Google
|
|
|
794
795
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
795
796
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
796
797
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
798
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
797
799
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
798
800
|
# trigger a retry.
|
|
799
801
|
#
|
|
@@ -834,6 +834,7 @@ module Google
|
|
|
834
834
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
835
835
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
836
836
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
837
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
837
838
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
838
839
|
# trigger a retry.
|
|
839
840
|
# @return [::Hash]
|
|
@@ -913,6 +914,7 @@ module Google
|
|
|
913
914
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
914
915
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
915
916
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
917
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
916
918
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
917
919
|
# trigger a retry.
|
|
918
920
|
#
|
|
@@ -640,6 +640,7 @@ module Google
|
|
|
640
640
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
641
641
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
642
642
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
643
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
643
644
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
644
645
|
# trigger a retry.
|
|
645
646
|
# @return [::Hash]
|
|
@@ -712,6 +713,7 @@ module Google
|
|
|
712
713
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
713
714
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
714
715
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
716
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
715
717
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
716
718
|
# trigger a retry.
|
|
717
719
|
#
|
|
@@ -1560,6 +1560,7 @@ module Google
|
|
|
1560
1560
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1561
1561
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1562
1562
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1563
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1563
1564
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1564
1565
|
# trigger a retry.
|
|
1565
1566
|
# @return [::Hash]
|
|
@@ -1643,6 +1644,7 @@ module Google
|
|
|
1643
1644
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1644
1645
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1645
1646
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1647
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1646
1648
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1647
1649
|
# trigger a retry.
|
|
1648
1650
|
#
|
|
@@ -711,6 +711,7 @@ module Google
|
|
|
711
711
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
712
712
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
713
713
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
714
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
714
715
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
715
716
|
# trigger a retry.
|
|
716
717
|
# @return [::Hash]
|
|
@@ -794,6 +795,7 @@ module Google
|
|
|
794
795
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
795
796
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
796
797
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
798
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
797
799
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
798
800
|
# trigger a retry.
|
|
799
801
|
#
|
|
@@ -1445,6 +1445,7 @@ module Google
|
|
|
1445
1445
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1446
1446
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1447
1447
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1448
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1448
1449
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1449
1450
|
# trigger a retry.
|
|
1450
1451
|
# @return [::Hash]
|
|
@@ -1524,6 +1525,7 @@ module Google
|
|
|
1524
1525
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1525
1526
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1526
1527
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1528
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1527
1529
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1528
1530
|
# trigger a retry.
|
|
1529
1531
|
#
|
|
@@ -640,6 +640,7 @@ module Google
|
|
|
640
640
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
641
641
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
642
642
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
643
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
643
644
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
644
645
|
# trigger a retry.
|
|
645
646
|
# @return [::Hash]
|
|
@@ -712,6 +713,7 @@ module Google
|
|
|
712
713
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
713
714
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
714
715
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
716
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
715
717
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
716
718
|
# trigger a retry.
|
|
717
719
|
#
|
|
@@ -1724,6 +1724,7 @@ module Google
|
|
|
1724
1724
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1725
1725
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1726
1726
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1727
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1727
1728
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1728
1729
|
# trigger a retry.
|
|
1729
1730
|
# @return [::Hash]
|
|
@@ -1807,6 +1808,7 @@ module Google
|
|
|
1807
1808
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1808
1809
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1809
1810
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1811
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1810
1812
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1811
1813
|
# trigger a retry.
|
|
1812
1814
|
#
|
|
@@ -1314,6 +1314,7 @@ module Google
|
|
|
1314
1314
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1315
1315
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1316
1316
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1317
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1317
1318
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1318
1319
|
# trigger a retry.
|
|
1319
1320
|
# @return [::Hash]
|
|
@@ -1393,6 +1394,7 @@ module Google
|
|
|
1393
1394
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1394
1395
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1395
1396
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1397
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1396
1398
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1397
1399
|
# trigger a retry.
|
|
1398
1400
|
#
|
|
@@ -518,6 +518,98 @@ module Google
|
|
|
518
518
|
raise ::Google::Cloud::Error.from_error(e)
|
|
519
519
|
end
|
|
520
520
|
|
|
521
|
+
##
|
|
522
|
+
# Cancels an AsyncQueryReasoningEngine operation.
|
|
523
|
+
#
|
|
524
|
+
# @overload cancel_async_query_reasoning_engine(request, options = nil)
|
|
525
|
+
# Pass arguments to `cancel_async_query_reasoning_engine` via a request object, either of type
|
|
526
|
+
# {::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest} or an equivalent Hash.
|
|
527
|
+
#
|
|
528
|
+
# @param request [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest, ::Hash]
|
|
529
|
+
# A request object representing the call parameters. Required. To specify no
|
|
530
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
531
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
532
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
533
|
+
#
|
|
534
|
+
# @overload cancel_async_query_reasoning_engine(name: nil, operation_name: nil)
|
|
535
|
+
# Pass arguments to `cancel_async_query_reasoning_engine` via keyword arguments. Note that at
|
|
536
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
537
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
538
|
+
#
|
|
539
|
+
# @param name [::String]
|
|
540
|
+
# Required. The name of the ReasoningEngine resource to use.
|
|
541
|
+
# Format:
|
|
542
|
+
# `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
|
|
543
|
+
# @param operation_name [::String]
|
|
544
|
+
# Required. The name of the longrunning operation returned from
|
|
545
|
+
# AsyncQueryReasoningEngine.
|
|
546
|
+
# Format:
|
|
547
|
+
# `projects/{project}/locations/{location}/operations/{operation}`
|
|
548
|
+
#
|
|
549
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
550
|
+
# @yieldparam response [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
551
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
552
|
+
#
|
|
553
|
+
# @return [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
554
|
+
#
|
|
555
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
556
|
+
#
|
|
557
|
+
# @example Basic example
|
|
558
|
+
# require "google/cloud/ai_platform/v1"
|
|
559
|
+
#
|
|
560
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
561
|
+
# client = Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client.new
|
|
562
|
+
#
|
|
563
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
564
|
+
# request = Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest.new
|
|
565
|
+
#
|
|
566
|
+
# # Call the cancel_async_query_reasoning_engine method.
|
|
567
|
+
# result = client.cancel_async_query_reasoning_engine request
|
|
568
|
+
#
|
|
569
|
+
# # The returned object is of type Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse.
|
|
570
|
+
# p result
|
|
571
|
+
#
|
|
572
|
+
def cancel_async_query_reasoning_engine request, options = nil
|
|
573
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
574
|
+
|
|
575
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest
|
|
576
|
+
|
|
577
|
+
# Converts hash and nil to an options object
|
|
578
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
579
|
+
|
|
580
|
+
# Customize the options with defaults
|
|
581
|
+
metadata = @config.rpcs.cancel_async_query_reasoning_engine.metadata.to_h
|
|
582
|
+
|
|
583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
584
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
585
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
586
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
587
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
588
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
589
|
+
|
|
590
|
+
header_params = {}
|
|
591
|
+
if request.name
|
|
592
|
+
header_params["name"] = request.name
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
596
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
597
|
+
|
|
598
|
+
options.apply_defaults timeout: @config.rpcs.cancel_async_query_reasoning_engine.timeout,
|
|
599
|
+
metadata: metadata,
|
|
600
|
+
retry_policy: @config.rpcs.cancel_async_query_reasoning_engine.retry_policy
|
|
601
|
+
|
|
602
|
+
options.apply_defaults timeout: @config.timeout,
|
|
603
|
+
metadata: @config.metadata,
|
|
604
|
+
retry_policy: @config.retry_policy
|
|
605
|
+
|
|
606
|
+
@reasoning_engine_execution_service_stub.call_rpc :cancel_async_query_reasoning_engine, request, options: options do |response, operation|
|
|
607
|
+
yield response, operation if block_given?
|
|
608
|
+
end
|
|
609
|
+
rescue ::GRPC::BadStatus => e
|
|
610
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
611
|
+
end
|
|
612
|
+
|
|
521
613
|
##
|
|
522
614
|
# Configuration class for the ReasoningEngineExecutionService API.
|
|
523
615
|
#
|
|
@@ -614,6 +706,7 @@ module Google
|
|
|
614
706
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
615
707
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
616
708
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
709
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
617
710
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
618
711
|
# trigger a retry.
|
|
619
712
|
# @return [::Hash]
|
|
@@ -697,6 +790,7 @@ module Google
|
|
|
697
790
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
698
791
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
699
792
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
793
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
700
794
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
701
795
|
# trigger a retry.
|
|
702
796
|
#
|
|
@@ -716,6 +810,11 @@ module Google
|
|
|
716
810
|
# @return [::Gapic::Config::Method]
|
|
717
811
|
#
|
|
718
812
|
attr_reader :async_query_reasoning_engine
|
|
813
|
+
##
|
|
814
|
+
# RPC-specific configuration for `cancel_async_query_reasoning_engine`
|
|
815
|
+
# @return [::Gapic::Config::Method]
|
|
816
|
+
#
|
|
817
|
+
attr_reader :cancel_async_query_reasoning_engine
|
|
719
818
|
|
|
720
819
|
# @private
|
|
721
820
|
def initialize parent_rpcs = nil
|
|
@@ -725,6 +824,8 @@ module Google
|
|
|
725
824
|
@stream_query_reasoning_engine = ::Gapic::Config::Method.new stream_query_reasoning_engine_config
|
|
726
825
|
async_query_reasoning_engine_config = parent_rpcs.async_query_reasoning_engine if parent_rpcs.respond_to? :async_query_reasoning_engine
|
|
727
826
|
@async_query_reasoning_engine = ::Gapic::Config::Method.new async_query_reasoning_engine_config
|
|
827
|
+
cancel_async_query_reasoning_engine_config = parent_rpcs.cancel_async_query_reasoning_engine if parent_rpcs.respond_to? :cancel_async_query_reasoning_engine
|
|
828
|
+
@cancel_async_query_reasoning_engine = ::Gapic::Config::Method.new cancel_async_query_reasoning_engine_config
|
|
728
829
|
|
|
729
830
|
yield self if block_given?
|
|
730
831
|
end
|
|
@@ -711,6 +711,7 @@ module Google
|
|
|
711
711
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
712
712
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
713
713
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
714
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
714
715
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
715
716
|
# trigger a retry.
|
|
716
717
|
# @return [::Hash]
|
|
@@ -794,6 +795,7 @@ module Google
|
|
|
794
795
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
795
796
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
796
797
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
798
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
797
799
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
798
800
|
# trigger a retry.
|
|
799
801
|
#
|
|
@@ -494,6 +494,91 @@ module Google
|
|
|
494
494
|
raise ::Google::Cloud::Error.from_error(e)
|
|
495
495
|
end
|
|
496
496
|
|
|
497
|
+
##
|
|
498
|
+
# Cancels an AsyncQueryReasoningEngine operation.
|
|
499
|
+
#
|
|
500
|
+
# @overload cancel_async_query_reasoning_engine(request, options = nil)
|
|
501
|
+
# Pass arguments to `cancel_async_query_reasoning_engine` via a request object, either of type
|
|
502
|
+
# {::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest} or an equivalent Hash.
|
|
503
|
+
#
|
|
504
|
+
# @param request [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest, ::Hash]
|
|
505
|
+
# A request object representing the call parameters. Required. To specify no
|
|
506
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
507
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
508
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
509
|
+
#
|
|
510
|
+
# @overload cancel_async_query_reasoning_engine(name: nil, operation_name: nil)
|
|
511
|
+
# Pass arguments to `cancel_async_query_reasoning_engine` via keyword arguments. Note that at
|
|
512
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
513
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
514
|
+
#
|
|
515
|
+
# @param name [::String]
|
|
516
|
+
# Required. The name of the ReasoningEngine resource to use.
|
|
517
|
+
# Format:
|
|
518
|
+
# `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
|
|
519
|
+
# @param operation_name [::String]
|
|
520
|
+
# Required. The name of the longrunning operation returned from
|
|
521
|
+
# AsyncQueryReasoningEngine.
|
|
522
|
+
# Format:
|
|
523
|
+
# `projects/{project}/locations/{location}/operations/{operation}`
|
|
524
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
525
|
+
# @yieldparam result [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
526
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
527
|
+
#
|
|
528
|
+
# @return [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
529
|
+
#
|
|
530
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
531
|
+
#
|
|
532
|
+
# @example Basic example
|
|
533
|
+
# require "google/cloud/ai_platform/v1"
|
|
534
|
+
#
|
|
535
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
536
|
+
# client = Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Rest::Client.new
|
|
537
|
+
#
|
|
538
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
539
|
+
# request = Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest.new
|
|
540
|
+
#
|
|
541
|
+
# # Call the cancel_async_query_reasoning_engine method.
|
|
542
|
+
# result = client.cancel_async_query_reasoning_engine request
|
|
543
|
+
#
|
|
544
|
+
# # The returned object is of type Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse.
|
|
545
|
+
# p result
|
|
546
|
+
#
|
|
547
|
+
def cancel_async_query_reasoning_engine request, options = nil
|
|
548
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
549
|
+
|
|
550
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest
|
|
551
|
+
|
|
552
|
+
# Converts hash and nil to an options object
|
|
553
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
554
|
+
|
|
555
|
+
# Customize the options with defaults
|
|
556
|
+
call_metadata = @config.rpcs.cancel_async_query_reasoning_engine.metadata.to_h
|
|
557
|
+
|
|
558
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
559
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
560
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
561
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION,
|
|
562
|
+
transports_version_send: [:rest]
|
|
563
|
+
|
|
564
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
565
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
566
|
+
|
|
567
|
+
options.apply_defaults timeout: @config.rpcs.cancel_async_query_reasoning_engine.timeout,
|
|
568
|
+
metadata: call_metadata,
|
|
569
|
+
retry_policy: @config.rpcs.cancel_async_query_reasoning_engine.retry_policy
|
|
570
|
+
|
|
571
|
+
options.apply_defaults timeout: @config.timeout,
|
|
572
|
+
metadata: @config.metadata,
|
|
573
|
+
retry_policy: @config.retry_policy
|
|
574
|
+
|
|
575
|
+
@reasoning_engine_execution_service_stub.cancel_async_query_reasoning_engine request, options do |result, operation|
|
|
576
|
+
yield result, operation if block_given?
|
|
577
|
+
end
|
|
578
|
+
rescue ::Gapic::Rest::Error => e
|
|
579
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
580
|
+
end
|
|
581
|
+
|
|
497
582
|
##
|
|
498
583
|
# Configuration class for the ReasoningEngineExecutionService REST API.
|
|
499
584
|
#
|
|
@@ -564,6 +649,7 @@ module Google
|
|
|
564
649
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
565
650
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
566
651
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
652
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
567
653
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
568
654
|
# trigger a retry.
|
|
569
655
|
# @return [::Hash]
|
|
@@ -643,6 +729,7 @@ module Google
|
|
|
643
729
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
644
730
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
645
731
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
732
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
646
733
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
647
734
|
# trigger a retry.
|
|
648
735
|
#
|
|
@@ -662,6 +749,11 @@ module Google
|
|
|
662
749
|
# @return [::Gapic::Config::Method]
|
|
663
750
|
#
|
|
664
751
|
attr_reader :async_query_reasoning_engine
|
|
752
|
+
##
|
|
753
|
+
# RPC-specific configuration for `cancel_async_query_reasoning_engine`
|
|
754
|
+
# @return [::Gapic::Config::Method]
|
|
755
|
+
#
|
|
756
|
+
attr_reader :cancel_async_query_reasoning_engine
|
|
665
757
|
|
|
666
758
|
# @private
|
|
667
759
|
def initialize parent_rpcs = nil
|
|
@@ -671,6 +763,8 @@ module Google
|
|
|
671
763
|
@stream_query_reasoning_engine = ::Gapic::Config::Method.new stream_query_reasoning_engine_config
|
|
672
764
|
async_query_reasoning_engine_config = parent_rpcs.async_query_reasoning_engine if parent_rpcs.respond_to? :async_query_reasoning_engine
|
|
673
765
|
@async_query_reasoning_engine = ::Gapic::Config::Method.new async_query_reasoning_engine_config
|
|
766
|
+
cancel_async_query_reasoning_engine_config = parent_rpcs.cancel_async_query_reasoning_engine if parent_rpcs.respond_to? :cancel_async_query_reasoning_engine
|
|
767
|
+
@cancel_async_query_reasoning_engine = ::Gapic::Config::Method.new cancel_async_query_reasoning_engine_config
|
|
674
768
|
|
|
675
769
|
yield self if block_given?
|
|
676
770
|
end
|
|
@@ -640,6 +640,7 @@ module Google
|
|
|
640
640
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
641
641
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
642
642
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
643
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
643
644
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
644
645
|
# trigger a retry.
|
|
645
646
|
# @return [::Hash]
|
|
@@ -712,6 +713,7 @@ module Google
|
|
|
712
713
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
713
714
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
714
715
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
716
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
715
717
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
716
718
|
# trigger a retry.
|
|
717
719
|
#
|
data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb
CHANGED
|
@@ -187,6 +187,46 @@ module Google
|
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
+
##
|
|
191
|
+
# Baseline implementation for the cancel_async_query_reasoning_engine REST call
|
|
192
|
+
#
|
|
193
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest]
|
|
194
|
+
# A request object representing the call parameters. Required.
|
|
195
|
+
# @param options [::Gapic::CallOptions]
|
|
196
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
197
|
+
#
|
|
198
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
199
|
+
# @yieldparam result [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
200
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
201
|
+
#
|
|
202
|
+
# @return [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
|
|
203
|
+
# A result object deserialized from the server's reply
|
|
204
|
+
def cancel_async_query_reasoning_engine request_pb, options = nil
|
|
205
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
206
|
+
|
|
207
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_cancel_async_query_reasoning_engine_request request_pb
|
|
208
|
+
query_string_params = if query_string_params.any?
|
|
209
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
210
|
+
else
|
|
211
|
+
{}
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
response = @client_stub.make_http_request(
|
|
215
|
+
verb,
|
|
216
|
+
uri: uri,
|
|
217
|
+
body: body || "",
|
|
218
|
+
params: query_string_params,
|
|
219
|
+
method_name: "cancel_async_query_reasoning_engine",
|
|
220
|
+
options: options
|
|
221
|
+
)
|
|
222
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
223
|
+
result = ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse.decode_json response.body, ignore_unknown_fields: true
|
|
224
|
+
catch :response do
|
|
225
|
+
yield result, operation if block_given?
|
|
226
|
+
result
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
190
230
|
##
|
|
191
231
|
# @private
|
|
192
232
|
#
|
|
@@ -260,6 +300,36 @@ module Google
|
|
|
260
300
|
)
|
|
261
301
|
transcoder.transcode request_pb
|
|
262
302
|
end
|
|
303
|
+
|
|
304
|
+
##
|
|
305
|
+
# @private
|
|
306
|
+
#
|
|
307
|
+
# GRPC transcoding helper method for the cancel_async_query_reasoning_engine REST call
|
|
308
|
+
#
|
|
309
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest]
|
|
310
|
+
# A request object representing the call parameters. Required.
|
|
311
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
312
|
+
# Uri, Body, Query string parameters
|
|
313
|
+
def self.transcode_cancel_async_query_reasoning_engine_request request_pb
|
|
314
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
315
|
+
.with_bindings(
|
|
316
|
+
uri_method: :post,
|
|
317
|
+
uri_template: "/v1/{name}:cancelAsyncQuery",
|
|
318
|
+
body: "*",
|
|
319
|
+
matches: [
|
|
320
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/?$}, false]
|
|
321
|
+
]
|
|
322
|
+
)
|
|
323
|
+
.with_bindings(
|
|
324
|
+
uri_method: :post,
|
|
325
|
+
uri_template: "/v1/{name}:cancelAsyncQuery",
|
|
326
|
+
body: "*",
|
|
327
|
+
matches: [
|
|
328
|
+
["name", %r{^reasoningEngines/[^/]+/?$}, false]
|
|
329
|
+
]
|
|
330
|
+
)
|
|
331
|
+
transcoder.transcode request_pb
|
|
332
|
+
end
|
|
263
333
|
end
|
|
264
334
|
end
|
|
265
335
|
end
|
|
@@ -804,6 +804,7 @@ module Google
|
|
|
804
804
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
805
805
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
806
806
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
807
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
807
808
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
808
809
|
# trigger a retry.
|
|
809
810
|
# @return [::Hash]
|
|
@@ -887,6 +888,7 @@ module Google
|
|
|
887
888
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
888
889
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
889
890
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
891
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
890
892
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
891
893
|
# trigger a retry.
|
|
892
894
|
#
|
|
@@ -711,6 +711,7 @@ module Google
|
|
|
711
711
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
712
712
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
713
713
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
714
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
714
715
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
715
716
|
# trigger a retry.
|
|
716
717
|
# @return [::Hash]
|
|
@@ -794,6 +795,7 @@ module Google
|
|
|
794
795
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
795
796
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
796
797
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
798
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
797
799
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
798
800
|
# trigger a retry.
|
|
799
801
|
#
|