google-cloud-ai_platform-v1 0.39.0 → 0.41.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/lib/google/cloud/ai_platform/v1/bindings_override.rb +399 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +138 -18
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2280 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1196 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +851 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +365 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +19 -8
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +1215 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +546 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +29 -13
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1732 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +841 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +534 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +24 -11
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +1450 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +663 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +9 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +645 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +244 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +45 -21
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2765 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1319 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +11 -4
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +720 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +307 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +19 -8
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1151 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +546 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +17 -7
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1034 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +486 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/index_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +73 -35
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +3841 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +2149 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/job_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +533 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +205 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +541 -0
- data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/match_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/match_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +67 -32
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +3634 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1972 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +574 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/migration_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +438 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +128 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -18
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2213 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1140 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/model_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +123 -10
- data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1503 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +723 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +15 -6
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +942 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +426 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +27 -12
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1600 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +783 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest.rb +56 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +37 -15
- data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1303 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +658 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/rest.rb +63 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +17 -7
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1076 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +486 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +847 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +366 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest.rb +59 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +63 -30
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +3274 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1847 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -15
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1788 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +963 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest.rb +58 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -4
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +26 -48
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +20 -2
- data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
- data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +17 -2
- data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
- metadata +101 -2
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# Service for reading and writing metadata entries.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "aiplatform.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -279,10 +282,11 @@ module Google
|
|
|
279
282
|
# Customize the options with defaults
|
|
280
283
|
metadata = @config.rpcs.create_metadata_store.metadata.to_h
|
|
281
284
|
|
|
282
|
-
# Set x-goog-api-client
|
|
285
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
283
286
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
284
287
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
285
288
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
289
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
286
290
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
287
291
|
|
|
288
292
|
header_params = {}
|
|
@@ -367,10 +371,11 @@ module Google
|
|
|
367
371
|
# Customize the options with defaults
|
|
368
372
|
metadata = @config.rpcs.get_metadata_store.metadata.to_h
|
|
369
373
|
|
|
370
|
-
# Set x-goog-api-client
|
|
374
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
371
375
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
372
376
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
373
377
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
378
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
374
379
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
375
380
|
|
|
376
381
|
header_params = {}
|
|
@@ -470,10 +475,11 @@ module Google
|
|
|
470
475
|
# Customize the options with defaults
|
|
471
476
|
metadata = @config.rpcs.list_metadata_stores.metadata.to_h
|
|
472
477
|
|
|
473
|
-
# Set x-goog-api-client
|
|
478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
479
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
481
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
482
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
483
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
484
|
|
|
479
485
|
header_params = {}
|
|
@@ -568,10 +574,11 @@ module Google
|
|
|
568
574
|
# Customize the options with defaults
|
|
569
575
|
metadata = @config.rpcs.delete_metadata_store.metadata.to_h
|
|
570
576
|
|
|
571
|
-
# Set x-goog-api-client
|
|
577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
572
578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
573
579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
574
580
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
575
582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
576
583
|
|
|
577
584
|
header_params = {}
|
|
@@ -667,10 +674,11 @@ module Google
|
|
|
667
674
|
# Customize the options with defaults
|
|
668
675
|
metadata = @config.rpcs.create_artifact.metadata.to_h
|
|
669
676
|
|
|
670
|
-
# Set x-goog-api-client
|
|
677
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
671
678
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
672
679
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
673
680
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
681
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
674
682
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
675
683
|
|
|
676
684
|
header_params = {}
|
|
@@ -754,10 +762,11 @@ module Google
|
|
|
754
762
|
# Customize the options with defaults
|
|
755
763
|
metadata = @config.rpcs.get_artifact.metadata.to_h
|
|
756
764
|
|
|
757
|
-
# Set x-goog-api-client
|
|
765
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
758
766
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
759
767
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
760
768
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
769
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
761
770
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
762
771
|
|
|
763
772
|
header_params = {}
|
|
@@ -895,10 +904,11 @@ module Google
|
|
|
895
904
|
# Customize the options with defaults
|
|
896
905
|
metadata = @config.rpcs.list_artifacts.metadata.to_h
|
|
897
906
|
|
|
898
|
-
# Set x-goog-api-client
|
|
907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
899
908
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
900
909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
901
910
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
911
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
902
912
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
903
913
|
|
|
904
914
|
header_params = {}
|
|
@@ -990,10 +1000,11 @@ module Google
|
|
|
990
1000
|
# Customize the options with defaults
|
|
991
1001
|
metadata = @config.rpcs.update_artifact.metadata.to_h
|
|
992
1002
|
|
|
993
|
-
# Set x-goog-api-client
|
|
1003
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
994
1004
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
995
1005
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
996
1006
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1007
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
997
1008
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
998
1009
|
|
|
999
1010
|
header_params = {}
|
|
@@ -1088,10 +1099,11 @@ module Google
|
|
|
1088
1099
|
# Customize the options with defaults
|
|
1089
1100
|
metadata = @config.rpcs.delete_artifact.metadata.to_h
|
|
1090
1101
|
|
|
1091
|
-
# Set x-goog-api-client
|
|
1102
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1092
1103
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1093
1104
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1094
1105
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1106
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1095
1107
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1096
1108
|
|
|
1097
1109
|
header_params = {}
|
|
@@ -1190,10 +1202,11 @@ module Google
|
|
|
1190
1202
|
# Customize the options with defaults
|
|
1191
1203
|
metadata = @config.rpcs.purge_artifacts.metadata.to_h
|
|
1192
1204
|
|
|
1193
|
-
# Set x-goog-api-client
|
|
1205
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1194
1206
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1195
1207
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1196
1208
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1209
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1197
1210
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1198
1211
|
|
|
1199
1212
|
header_params = {}
|
|
@@ -1288,10 +1301,11 @@ module Google
|
|
|
1288
1301
|
# Customize the options with defaults
|
|
1289
1302
|
metadata = @config.rpcs.create_context.metadata.to_h
|
|
1290
1303
|
|
|
1291
|
-
# Set x-goog-api-client
|
|
1304
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1292
1305
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1293
1306
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1294
1307
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1308
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1295
1309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1296
1310
|
|
|
1297
1311
|
header_params = {}
|
|
@@ -1375,10 +1389,11 @@ module Google
|
|
|
1375
1389
|
# Customize the options with defaults
|
|
1376
1390
|
metadata = @config.rpcs.get_context.metadata.to_h
|
|
1377
1391
|
|
|
1378
|
-
# Set x-goog-api-client
|
|
1392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1379
1393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1380
1394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1381
1395
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1382
1397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1383
1398
|
|
|
1384
1399
|
header_params = {}
|
|
@@ -1520,10 +1535,11 @@ module Google
|
|
|
1520
1535
|
# Customize the options with defaults
|
|
1521
1536
|
metadata = @config.rpcs.list_contexts.metadata.to_h
|
|
1522
1537
|
|
|
1523
|
-
# Set x-goog-api-client
|
|
1538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1524
1539
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1525
1540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1526
1541
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1542
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1527
1543
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1528
1544
|
|
|
1529
1545
|
header_params = {}
|
|
@@ -1614,10 +1630,11 @@ module Google
|
|
|
1614
1630
|
# Customize the options with defaults
|
|
1615
1631
|
metadata = @config.rpcs.update_context.metadata.to_h
|
|
1616
1632
|
|
|
1617
|
-
# Set x-goog-api-client
|
|
1633
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1618
1634
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1619
1635
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1620
1636
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1637
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1621
1638
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1622
1639
|
|
|
1623
1640
|
header_params = {}
|
|
@@ -1715,10 +1732,11 @@ module Google
|
|
|
1715
1732
|
# Customize the options with defaults
|
|
1716
1733
|
metadata = @config.rpcs.delete_context.metadata.to_h
|
|
1717
1734
|
|
|
1718
|
-
# Set x-goog-api-client
|
|
1735
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1719
1736
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1720
1737
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1721
1738
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1739
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1722
1740
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1723
1741
|
|
|
1724
1742
|
header_params = {}
|
|
@@ -1817,10 +1835,11 @@ module Google
|
|
|
1817
1835
|
# Customize the options with defaults
|
|
1818
1836
|
metadata = @config.rpcs.purge_contexts.metadata.to_h
|
|
1819
1837
|
|
|
1820
|
-
# Set x-goog-api-client
|
|
1838
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1821
1839
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1822
1840
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1823
1841
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1842
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1824
1843
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1825
1844
|
|
|
1826
1845
|
header_params = {}
|
|
@@ -1918,10 +1937,11 @@ module Google
|
|
|
1918
1937
|
# Customize the options with defaults
|
|
1919
1938
|
metadata = @config.rpcs.add_context_artifacts_and_executions.metadata.to_h
|
|
1920
1939
|
|
|
1921
|
-
# Set x-goog-api-client
|
|
1940
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1922
1941
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1923
1942
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1924
1943
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1944
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1925
1945
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1926
1946
|
|
|
1927
1947
|
header_params = {}
|
|
@@ -2012,10 +2032,11 @@ module Google
|
|
|
2012
2032
|
# Customize the options with defaults
|
|
2013
2033
|
metadata = @config.rpcs.add_context_children.metadata.to_h
|
|
2014
2034
|
|
|
2015
|
-
# Set x-goog-api-client
|
|
2035
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2016
2036
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2017
2037
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2018
2038
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2039
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2019
2040
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2020
2041
|
|
|
2021
2042
|
header_params = {}
|
|
@@ -2104,10 +2125,11 @@ module Google
|
|
|
2104
2125
|
# Customize the options with defaults
|
|
2105
2126
|
metadata = @config.rpcs.remove_context_children.metadata.to_h
|
|
2106
2127
|
|
|
2107
|
-
# Set x-goog-api-client
|
|
2128
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2108
2129
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2109
2130
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2110
2131
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2132
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2111
2133
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2112
2134
|
|
|
2113
2135
|
header_params = {}
|
|
@@ -2197,10 +2219,11 @@ module Google
|
|
|
2197
2219
|
# Customize the options with defaults
|
|
2198
2220
|
metadata = @config.rpcs.query_context_lineage_subgraph.metadata.to_h
|
|
2199
2221
|
|
|
2200
|
-
# Set x-goog-api-client
|
|
2222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2201
2223
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2202
2224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2203
2225
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2226
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2204
2227
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2205
2228
|
|
|
2206
2229
|
header_params = {}
|
|
@@ -2296,10 +2319,11 @@ module Google
|
|
|
2296
2319
|
# Customize the options with defaults
|
|
2297
2320
|
metadata = @config.rpcs.create_execution.metadata.to_h
|
|
2298
2321
|
|
|
2299
|
-
# Set x-goog-api-client
|
|
2322
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2300
2323
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2301
2324
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2302
2325
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2326
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2303
2327
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2304
2328
|
|
|
2305
2329
|
header_params = {}
|
|
@@ -2383,10 +2407,11 @@ module Google
|
|
|
2383
2407
|
# Customize the options with defaults
|
|
2384
2408
|
metadata = @config.rpcs.get_execution.metadata.to_h
|
|
2385
2409
|
|
|
2386
|
-
# Set x-goog-api-client
|
|
2410
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2387
2411
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2388
2412
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2389
2413
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2414
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2390
2415
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2391
2416
|
|
|
2392
2417
|
header_params = {}
|
|
@@ -2524,10 +2549,11 @@ module Google
|
|
|
2524
2549
|
# Customize the options with defaults
|
|
2525
2550
|
metadata = @config.rpcs.list_executions.metadata.to_h
|
|
2526
2551
|
|
|
2527
|
-
# Set x-goog-api-client
|
|
2552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2528
2553
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2529
2554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2530
2555
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2556
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2531
2557
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2532
2558
|
|
|
2533
2559
|
header_params = {}
|
|
@@ -2619,10 +2645,11 @@ module Google
|
|
|
2619
2645
|
# Customize the options with defaults
|
|
2620
2646
|
metadata = @config.rpcs.update_execution.metadata.to_h
|
|
2621
2647
|
|
|
2622
|
-
# Set x-goog-api-client
|
|
2648
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2623
2649
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2624
2650
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2625
2651
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2652
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2626
2653
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2627
2654
|
|
|
2628
2655
|
header_params = {}
|
|
@@ -2717,10 +2744,11 @@ module Google
|
|
|
2717
2744
|
# Customize the options with defaults
|
|
2718
2745
|
metadata = @config.rpcs.delete_execution.metadata.to_h
|
|
2719
2746
|
|
|
2720
|
-
# Set x-goog-api-client
|
|
2747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2721
2748
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2722
2749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2723
2750
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2751
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2724
2752
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2725
2753
|
|
|
2726
2754
|
header_params = {}
|
|
@@ -2819,10 +2847,11 @@ module Google
|
|
|
2819
2847
|
# Customize the options with defaults
|
|
2820
2848
|
metadata = @config.rpcs.purge_executions.metadata.to_h
|
|
2821
2849
|
|
|
2822
|
-
# Set x-goog-api-client
|
|
2850
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2823
2851
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2824
2852
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2825
2853
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2854
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2826
2855
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2827
2856
|
|
|
2828
2857
|
header_params = {}
|
|
@@ -2913,10 +2942,11 @@ module Google
|
|
|
2913
2942
|
# Customize the options with defaults
|
|
2914
2943
|
metadata = @config.rpcs.add_execution_events.metadata.to_h
|
|
2915
2944
|
|
|
2916
|
-
# Set x-goog-api-client
|
|
2945
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2917
2946
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2918
2947
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2919
2948
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2949
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2920
2950
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2921
2951
|
|
|
2922
2952
|
header_params = {}
|
|
@@ -3002,10 +3032,11 @@ module Google
|
|
|
3002
3032
|
# Customize the options with defaults
|
|
3003
3033
|
metadata = @config.rpcs.query_execution_inputs_and_outputs.metadata.to_h
|
|
3004
3034
|
|
|
3005
|
-
# Set x-goog-api-client
|
|
3035
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3006
3036
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3007
3037
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3008
3038
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
3039
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3009
3040
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3010
3041
|
|
|
3011
3042
|
header_params = {}
|
|
@@ -3100,10 +3131,11 @@ module Google
|
|
|
3100
3131
|
# Customize the options with defaults
|
|
3101
3132
|
metadata = @config.rpcs.create_metadata_schema.metadata.to_h
|
|
3102
3133
|
|
|
3103
|
-
# Set x-goog-api-client
|
|
3134
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3104
3135
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3105
3136
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3106
3137
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
3138
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3107
3139
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3108
3140
|
|
|
3109
3141
|
header_params = {}
|
|
@@ -3187,10 +3219,11 @@ module Google
|
|
|
3187
3219
|
# Customize the options with defaults
|
|
3188
3220
|
metadata = @config.rpcs.get_metadata_schema.metadata.to_h
|
|
3189
3221
|
|
|
3190
|
-
# Set x-goog-api-client
|
|
3222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3191
3223
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3192
3224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3193
3225
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
3226
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3194
3227
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3195
3228
|
|
|
3196
3229
|
header_params = {}
|
|
@@ -3292,10 +3325,11 @@ module Google
|
|
|
3292
3325
|
# Customize the options with defaults
|
|
3293
3326
|
metadata = @config.rpcs.list_metadata_schemas.metadata.to_h
|
|
3294
3327
|
|
|
3295
|
-
# Set x-goog-api-client
|
|
3328
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3296
3329
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3297
3330
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3298
3331
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
3332
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3299
3333
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3300
3334
|
|
|
3301
3335
|
header_params = {}
|
|
@@ -3417,10 +3451,11 @@ module Google
|
|
|
3417
3451
|
# Customize the options with defaults
|
|
3418
3452
|
metadata = @config.rpcs.query_artifact_lineage_subgraph.metadata.to_h
|
|
3419
3453
|
|
|
3420
|
-
# Set x-goog-api-client
|
|
3454
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3421
3455
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3422
3456
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3423
3457
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
3458
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3424
3459
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3425
3460
|
|
|
3426
3461
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module MetadataService
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "aiplatform.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
header_params = {}
|