google-cloud-ai_platform-v1 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +39 -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 +2188 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3901 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1136 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +23 -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 +1410 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3901 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +663 -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 +3901 -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 +3901 -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 +29 -13
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1297 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +642 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +2 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +17 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
- metadata +101 -2
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# TensorboardService
|
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
|
|
@@ -269,10 +272,11 @@ module Google
|
|
269
272
|
# Customize the options with defaults
|
270
273
|
metadata = @config.rpcs.create_tensorboard.metadata.to_h
|
271
274
|
|
272
|
-
# Set x-goog-api-client
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
276
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
278
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
279
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
276
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
277
281
|
|
278
282
|
header_params = {}
|
@@ -357,10 +361,11 @@ module Google
|
|
357
361
|
# Customize the options with defaults
|
358
362
|
metadata = @config.rpcs.get_tensorboard.metadata.to_h
|
359
363
|
|
360
|
-
# Set x-goog-api-client
|
364
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
361
365
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
362
366
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
363
367
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
368
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
364
369
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
365
370
|
|
366
371
|
header_params = {}
|
@@ -458,10 +463,11 @@ module Google
|
|
458
463
|
# Customize the options with defaults
|
459
464
|
metadata = @config.rpcs.update_tensorboard.metadata.to_h
|
460
465
|
|
461
|
-
# Set x-goog-api-client
|
466
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
462
467
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
463
468
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
464
469
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
470
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
465
471
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
466
472
|
|
467
473
|
header_params = {}
|
@@ -569,10 +575,11 @@ module Google
|
|
569
575
|
# Customize the options with defaults
|
570
576
|
metadata = @config.rpcs.list_tensorboards.metadata.to_h
|
571
577
|
|
572
|
-
# Set x-goog-api-client
|
578
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
573
579
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
574
580
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
575
581
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
582
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
576
583
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
577
584
|
|
578
585
|
header_params = {}
|
@@ -664,10 +671,11 @@ module Google
|
|
664
671
|
# Customize the options with defaults
|
665
672
|
metadata = @config.rpcs.delete_tensorboard.metadata.to_h
|
666
673
|
|
667
|
-
# Set x-goog-api-client
|
674
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
668
675
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
669
676
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
670
677
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
678
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
671
679
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
672
680
|
|
673
681
|
header_params = {}
|
@@ -752,10 +760,11 @@ module Google
|
|
752
760
|
# Customize the options with defaults
|
753
761
|
metadata = @config.rpcs.read_tensorboard_usage.metadata.to_h
|
754
762
|
|
755
|
-
# Set x-goog-api-client
|
763
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
756
764
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
757
765
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
758
766
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
767
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
759
768
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
760
769
|
|
761
770
|
header_params = {}
|
@@ -839,10 +848,11 @@ module Google
|
|
839
848
|
# Customize the options with defaults
|
840
849
|
metadata = @config.rpcs.read_tensorboard_size.metadata.to_h
|
841
850
|
|
842
|
-
# Set x-goog-api-client
|
851
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
843
852
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
844
853
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
845
854
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
855
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
846
856
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
847
857
|
|
848
858
|
header_params = {}
|
@@ -934,10 +944,11 @@ module Google
|
|
934
944
|
# Customize the options with defaults
|
935
945
|
metadata = @config.rpcs.create_tensorboard_experiment.metadata.to_h
|
936
946
|
|
937
|
-
# Set x-goog-api-client
|
947
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
938
948
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
939
949
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
940
950
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
951
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
941
952
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
942
953
|
|
943
954
|
header_params = {}
|
@@ -1021,10 +1032,11 @@ module Google
|
|
1021
1032
|
# Customize the options with defaults
|
1022
1033
|
metadata = @config.rpcs.get_tensorboard_experiment.metadata.to_h
|
1023
1034
|
|
1024
|
-
# Set x-goog-api-client
|
1035
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1025
1036
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1026
1037
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1027
1038
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1039
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1028
1040
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1029
1041
|
|
1030
1042
|
header_params = {}
|
@@ -1115,10 +1127,11 @@ module Google
|
|
1115
1127
|
# Customize the options with defaults
|
1116
1128
|
metadata = @config.rpcs.update_tensorboard_experiment.metadata.to_h
|
1117
1129
|
|
1118
|
-
# Set x-goog-api-client
|
1130
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1119
1131
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1120
1132
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1121
1133
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1134
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1122
1135
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1123
1136
|
|
1124
1137
|
header_params = {}
|
@@ -1225,10 +1238,11 @@ module Google
|
|
1225
1238
|
# Customize the options with defaults
|
1226
1239
|
metadata = @config.rpcs.list_tensorboard_experiments.metadata.to_h
|
1227
1240
|
|
1228
|
-
# Set x-goog-api-client
|
1241
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1229
1242
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1230
1243
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1231
1244
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1245
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1232
1246
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1233
1247
|
|
1234
1248
|
header_params = {}
|
@@ -1320,10 +1334,11 @@ module Google
|
|
1320
1334
|
# Customize the options with defaults
|
1321
1335
|
metadata = @config.rpcs.delete_tensorboard_experiment.metadata.to_h
|
1322
1336
|
|
1323
|
-
# Set x-goog-api-client
|
1337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1324
1338
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1325
1339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1326
1340
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1341
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1327
1342
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1328
1343
|
|
1329
1344
|
header_params = {}
|
@@ -1416,10 +1431,11 @@ module Google
|
|
1416
1431
|
# Customize the options with defaults
|
1417
1432
|
metadata = @config.rpcs.create_tensorboard_run.metadata.to_h
|
1418
1433
|
|
1419
|
-
# Set x-goog-api-client
|
1434
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1420
1435
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1421
1436
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1422
1437
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1438
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1423
1439
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1424
1440
|
|
1425
1441
|
header_params = {}
|
@@ -1508,10 +1524,11 @@ module Google
|
|
1508
1524
|
# Customize the options with defaults
|
1509
1525
|
metadata = @config.rpcs.batch_create_tensorboard_runs.metadata.to_h
|
1510
1526
|
|
1511
|
-
# Set x-goog-api-client
|
1527
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1512
1528
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1513
1529
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1514
1530
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1531
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1515
1532
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1516
1533
|
|
1517
1534
|
header_params = {}
|
@@ -1595,10 +1612,11 @@ module Google
|
|
1595
1612
|
# Customize the options with defaults
|
1596
1613
|
metadata = @config.rpcs.get_tensorboard_run.metadata.to_h
|
1597
1614
|
|
1598
|
-
# Set x-goog-api-client
|
1615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1599
1616
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1600
1617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1601
1618
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1619
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1602
1620
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1603
1621
|
|
1604
1622
|
header_params = {}
|
@@ -1689,10 +1707,11 @@ module Google
|
|
1689
1707
|
# Customize the options with defaults
|
1690
1708
|
metadata = @config.rpcs.update_tensorboard_run.metadata.to_h
|
1691
1709
|
|
1692
|
-
# Set x-goog-api-client
|
1710
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1693
1711
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1694
1712
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1695
1713
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1714
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1696
1715
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1697
1716
|
|
1698
1717
|
header_params = {}
|
@@ -1799,10 +1818,11 @@ module Google
|
|
1799
1818
|
# Customize the options with defaults
|
1800
1819
|
metadata = @config.rpcs.list_tensorboard_runs.metadata.to_h
|
1801
1820
|
|
1802
|
-
# Set x-goog-api-client
|
1821
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1803
1822
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1804
1823
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1805
1824
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1825
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1806
1826
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1807
1827
|
|
1808
1828
|
header_params = {}
|
@@ -1894,10 +1914,11 @@ module Google
|
|
1894
1914
|
# Customize the options with defaults
|
1895
1915
|
metadata = @config.rpcs.delete_tensorboard_run.metadata.to_h
|
1896
1916
|
|
1897
|
-
# Set x-goog-api-client
|
1917
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1898
1918
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1899
1919
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1900
1920
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1921
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1901
1922
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1902
1923
|
|
1903
1924
|
header_params = {}
|
@@ -1989,10 +2010,11 @@ module Google
|
|
1989
2010
|
# Customize the options with defaults
|
1990
2011
|
metadata = @config.rpcs.batch_create_tensorboard_time_series.metadata.to_h
|
1991
2012
|
|
1992
|
-
# Set x-goog-api-client
|
2013
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1993
2014
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1994
2015
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1995
2016
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2017
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1996
2018
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1997
2019
|
|
1998
2020
|
header_params = {}
|
@@ -2084,10 +2106,11 @@ module Google
|
|
2084
2106
|
# Customize the options with defaults
|
2085
2107
|
metadata = @config.rpcs.create_tensorboard_time_series.metadata.to_h
|
2086
2108
|
|
2087
|
-
# Set x-goog-api-client
|
2109
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2088
2110
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2089
2111
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2090
2112
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2113
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2091
2114
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2092
2115
|
|
2093
2116
|
header_params = {}
|
@@ -2171,10 +2194,11 @@ module Google
|
|
2171
2194
|
# Customize the options with defaults
|
2172
2195
|
metadata = @config.rpcs.get_tensorboard_time_series.metadata.to_h
|
2173
2196
|
|
2174
|
-
# Set x-goog-api-client
|
2197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2175
2198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2176
2199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2177
2200
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2178
2202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2179
2203
|
|
2180
2204
|
header_params = {}
|
@@ -2266,10 +2290,11 @@ module Google
|
|
2266
2290
|
# Customize the options with defaults
|
2267
2291
|
metadata = @config.rpcs.update_tensorboard_time_series.metadata.to_h
|
2268
2292
|
|
2269
|
-
# Set x-goog-api-client
|
2293
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2270
2294
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2271
2295
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2272
2296
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2297
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2273
2298
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2274
2299
|
|
2275
2300
|
header_params = {}
|
@@ -2376,10 +2401,11 @@ module Google
|
|
2376
2401
|
# Customize the options with defaults
|
2377
2402
|
metadata = @config.rpcs.list_tensorboard_time_series.metadata.to_h
|
2378
2403
|
|
2379
|
-
# Set x-goog-api-client
|
2404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2380
2405
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2381
2406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2382
2407
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2408
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2383
2409
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2384
2410
|
|
2385
2411
|
header_params = {}
|
@@ -2471,10 +2497,11 @@ module Google
|
|
2471
2497
|
# Customize the options with defaults
|
2472
2498
|
metadata = @config.rpcs.delete_tensorboard_time_series.metadata.to_h
|
2473
2499
|
|
2474
|
-
# Set x-goog-api-client
|
2500
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2475
2501
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2476
2502
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2477
2503
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2504
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2478
2505
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2479
2506
|
|
2480
2507
|
header_params = {}
|
@@ -2570,10 +2597,11 @@ module Google
|
|
2570
2597
|
# Customize the options with defaults
|
2571
2598
|
metadata = @config.rpcs.batch_read_tensorboard_time_series_data.metadata.to_h
|
2572
2599
|
|
2573
|
-
# Set x-goog-api-client
|
2600
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2574
2601
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2575
2602
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2576
2603
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2604
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2577
2605
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2578
2606
|
|
2579
2607
|
header_params = {}
|
@@ -2668,10 +2696,11 @@ module Google
|
|
2668
2696
|
# Customize the options with defaults
|
2669
2697
|
metadata = @config.rpcs.read_tensorboard_time_series_data.metadata.to_h
|
2670
2698
|
|
2671
|
-
# Set x-goog-api-client
|
2699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2672
2700
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2673
2701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2674
2702
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2703
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2675
2704
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2676
2705
|
|
2677
2706
|
header_params = {}
|
@@ -2763,10 +2792,11 @@ module Google
|
|
2763
2792
|
# Customize the options with defaults
|
2764
2793
|
metadata = @config.rpcs.read_tensorboard_blob_data.metadata.to_h
|
2765
2794
|
|
2766
|
-
# Set x-goog-api-client
|
2795
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2767
2796
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2768
2797
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2769
2798
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2799
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2770
2800
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2771
2801
|
|
2772
2802
|
header_params = {}
|
@@ -2853,10 +2883,11 @@ module Google
|
|
2853
2883
|
# Customize the options with defaults
|
2854
2884
|
metadata = @config.rpcs.write_tensorboard_experiment_data.metadata.to_h
|
2855
2885
|
|
2856
|
-
# Set x-goog-api-client
|
2886
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2857
2887
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2858
2888
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2859
2889
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2890
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2860
2891
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2861
2892
|
|
2862
2893
|
header_params = {}
|
@@ -2947,10 +2978,11 @@ module Google
|
|
2947
2978
|
# Customize the options with defaults
|
2948
2979
|
metadata = @config.rpcs.write_tensorboard_run_data.metadata.to_h
|
2949
2980
|
|
2950
|
-
# Set x-goog-api-client
|
2981
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2951
2982
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2952
2983
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2953
2984
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2985
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2954
2986
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2955
2987
|
|
2956
2988
|
header_params = {}
|
@@ -3057,10 +3089,11 @@ module Google
|
|
3057
3089
|
# Customize the options with defaults
|
3058
3090
|
metadata = @config.rpcs.export_tensorboard_time_series_data.metadata.to_h
|
3059
3091
|
|
3060
|
-
# Set x-goog-api-client
|
3092
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3061
3093
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3062
3094
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3063
3095
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
3096
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3064
3097
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3065
3098
|
|
3066
3099
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module TensorboardService
|
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 = {}
|