google-cloud-ai_platform-v1 0.23.0 → 0.25.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/dataset_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +533 -0
- data/lib/google/cloud/ai_platform/v1/match_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/match_service/paths.rb +52 -0
- data/lib/google/cloud/ai_platform/v1/match_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +34 -92
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +55 -0
- data/lib/google/cloud/aiplatform/v1/match_service_services_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
- data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +89 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
- data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +156 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +20 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e93cdac9a2b253e024717c0ee68a68505c4ecacbc18dcae847bfa36a933a03e1
|
4
|
+
data.tar.gz: fbebbf71c2fee648449412c2a34463d6de98bc7d65187a149b5bd13eb8de23fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05bc8642b36e3502cf0bf2a3883526495f1fe9067d6af98ec160226a655dac8f6063e8cc5a17c648eb2407bef20685e21bfe632557450e466fce2a388e3a7c1e
|
7
|
+
data.tar.gz: aba9c2a7a1ecb0d70b1d2b8acd57d7cfa5788b27d0afd24405c59dadcb7e37f3f4da0865b905c345c1d650ca2cee4d1098a2470b2941b28bc83e526775c022dc
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
credentials = @config.credentials
|
127
127
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
128
128
|
# but only if the default endpoint does not have a region prefix.
|
129
|
-
enable_self_signed_jwt = @config.endpoint ==
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
130
130
|
!@config.endpoint.split(".").first.include?("-")
|
131
131
|
credentials ||= Credentials.default scope: @config.scope,
|
132
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1503,7 +1503,9 @@ module Google
|
|
1503
1503
|
class Configuration
|
1504
1504
|
extend ::Gapic::Config
|
1505
1505
|
|
1506
|
-
|
1506
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
1507
|
+
|
1508
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1507
1509
|
config_attr :credentials, nil do |value|
|
1508
1510
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1509
1511
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1111,7 +1111,9 @@ module Google
|
|
1111
1111
|
class Configuration
|
1112
1112
|
extend ::Gapic::Config
|
1113
1113
|
|
1114
|
-
|
1114
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
1115
|
+
|
1116
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1115
1117
|
config_attr :credentials, nil do |value|
|
1116
1118
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1117
1119
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -550,7 +550,9 @@ module Google
|
|
550
550
|
class Configuration
|
551
551
|
extend ::Gapic::Config
|
552
552
|
|
553
|
-
|
553
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
554
|
+
|
555
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
554
556
|
config_attr :credentials, nil do |value|
|
555
557
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
556
558
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1940,7 +1940,7 @@ module Google
|
|
1940
1940
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
|
1941
1941
|
# @param entity_id_field [::String]
|
1942
1942
|
# Source column that holds entity IDs. If not provided, entity IDs are
|
1943
|
-
# extracted from the column named
|
1943
|
+
# extracted from the column named entity_id.
|
1944
1944
|
# @param feature_specs [::Array<::Google::Cloud::AIPlatform::V1::ImportFeatureValuesRequest::FeatureSpec, ::Hash>]
|
1945
1945
|
# Required. Specifications defining which Feature values to import from the
|
1946
1946
|
# entity. The request fails if no feature_specs are provided, and having
|
@@ -2638,7 +2638,9 @@ module Google
|
|
2638
2638
|
class Configuration
|
2639
2639
|
extend ::Gapic::Config
|
2640
2640
|
|
2641
|
-
|
2641
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
2642
|
+
|
2643
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2642
2644
|
config_attr :credentials, nil do |value|
|
2643
2645
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2644
2646
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1051,7 +1051,9 @@ module Google
|
|
1051
1051
|
class Configuration
|
1052
1052
|
extend ::Gapic::Config
|
1053
1053
|
|
1054
|
-
|
1054
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
1055
|
+
|
1056
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1055
1057
|
config_attr :credentials, nil do |value|
|
1056
1058
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1057
1059
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -927,7 +927,9 @@ module Google
|
|
927
927
|
class Configuration
|
928
928
|
extend ::Gapic::Config
|
929
929
|
|
930
|
-
|
930
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
931
|
+
|
932
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
931
933
|
config_attr :credentials, nil do |value|
|
932
934
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
933
935
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -3714,7 +3714,9 @@ module Google
|
|
3714
3714
|
class Configuration
|
3715
3715
|
extend ::Gapic::Config
|
3716
3716
|
|
3717
|
-
|
3717
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
3718
|
+
|
3719
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
3718
3720
|
config_attr :credentials, nil do |value|
|
3719
3721
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3720
3722
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -672,7 +672,9 @@ module Google
|
|
672
672
|
class Configuration
|
673
673
|
extend ::Gapic::Config
|
674
674
|
|
675
|
-
|
675
|
+
DEFAULT_ENDPOINT = "aiplatform.googleapis.com"
|
676
|
+
|
677
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
676
678
|
config_attr :credentials, nil do |value|
|
677
679
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
678
680
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|