google-cloud-ai_platform-v1 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1 -1
  3. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +1 -1
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +1 -1
  5. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +12 -4
  6. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +12 -4
  7. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +1 -1
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +1 -1
  9. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +5 -1
  10. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +5 -1
  11. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +1 -1
  12. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +1 -1
  13. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
  14. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2 -1
  15. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1 -1
  16. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +1 -1
  17. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +1 -1
  18. data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +1 -1
  19. data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +1 -1
  20. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +15 -4
  21. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +15 -4
  22. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +1 -1
  23. data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +1 -1
  24. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1 -1
  25. data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +1 -1
  26. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -2
  27. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +5 -2
  28. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +1 -1
  29. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1 -1
  30. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +434 -0
  31. data/lib/google/cloud/ai_platform/v1/notebook_service/paths.rb +38 -0
  32. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +406 -0
  33. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +238 -1
  34. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +1 -1
  35. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +1 -1
  36. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +1 -1
  37. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +1 -1
  38. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +1 -1
  39. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1 -1
  40. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  41. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +1 -1
  42. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  43. data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
  44. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -1
  45. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  46. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  47. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
  48. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +3 -1
  49. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
  50. data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +55 -0
  51. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +10 -1
  52. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +8 -0
  53. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  54. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  55. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +1 -1
  56. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
  57. data/proto_docs/google/api/client.rb +14 -10
  58. data/proto_docs/google/api/resource.rb +7 -2
  59. data/proto_docs/google/cloud/aiplatform/v1/content.rb +85 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +19 -0
  61. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +1 -1
  62. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +1 -1
  63. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +21 -0
  64. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +12 -4
  65. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +57 -0
  66. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +3 -0
  67. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
  68. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +5 -1
  69. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +144 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +125 -0
  71. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +12 -0
  72. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +16 -3
  73. data/proto_docs/google/cloud/aiplatform/v1/study.rb +0 -1
  74. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +2 -3
  75. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +7 -0
  76. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfebb0bd20d17832ff682e18f1c6262d7e56e55ed3162eb0b1b437c482d52706
4
- data.tar.gz: 4787c5bde77b648367cd0c05bba4bbe884de059f0077f390091cf0b021d1dc63
3
+ metadata.gz: 53d00b7636615a9b12ae0f430fa742e3621ea26799b6f6865537705ce021067d
4
+ data.tar.gz: d4f9f53635757eedc54ec488dfd55993d1faacb25c70134ad768d61c4fad914e
5
5
  SHA512:
6
- metadata.gz: aa2d04b113dc41123fcbb033fbb3bbf5d1de2eec3224cb9c63e260ddda39cd5513bc9b493f5c28cae7941c9d926facae9628fb2a8abbdc81599a40ac034f5250
7
- data.tar.gz: 38a39e98c62f3dc416c3c4f58f49756d46b6ef06d84d0ba62cbf92a6836be844ebe362e1c5a534256ca42f81c327e3bb6c63885da0c8fd7f6b679877682dd379
6
+ metadata.gz: 159549f450485d66523a478b39606a54be3beb9808b6b4fcba5c9ad0c6c68ce4aa685ca99030708e4271a30d4c56f107b4f7beed3144546e9c69dffd8947cc63
7
+ data.tar.gz: 4c1b6d8b53e5fe154c24941f4fa78e29b825d3d2489cb3fd24fa29bb8e234c186da303f82d7720731d14835fd4b1cb8d78e7a30faf4a65381952ab88eaf304c9
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -564,10 +564,11 @@ module Google
564
564
  #
565
565
  # Updatable fields:
566
566
  #
567
- # * `big_query_source`
568
- # * `bigtable`
569
567
  # * `labels`
570
- # * `sync_config`
568
+ # * `description`
569
+ # * `bigtable`
570
+ # * `bigtable.auto_scaling`
571
+ # * `bigtable.enable_multi_region_replica`
571
572
  #
572
573
  # @yield [response, operation] Access the result along with the RPC operation
573
574
  # @yieldparam response [::Gapic::Operation]
@@ -1110,7 +1111,14 @@ module Google
1110
1111
  # Updatable fields:
1111
1112
  #
1112
1113
  # * `labels`
1113
- # * `serviceAgentType`
1114
+ # * `service_agent_type`
1115
+ # * `big_query_source`
1116
+ # * `big_query_source.uri`
1117
+ # * `big_query_source.entity_id_columns`
1118
+ # * `feature_registry_source`
1119
+ # * `feature_registry_source.feature_groups`
1120
+ # * `sync_config`
1121
+ # * `sync_config.cron`
1114
1122
  #
1115
1123
  # @yield [response, operation] Access the result along with the RPC operation
1116
1124
  # @yieldparam response [::Gapic::Operation]
@@ -538,10 +538,11 @@ module Google
538
538
  #
539
539
  # Updatable fields:
540
540
  #
541
- # * `big_query_source`
542
- # * `bigtable`
543
541
  # * `labels`
544
- # * `sync_config`
542
+ # * `description`
543
+ # * `bigtable`
544
+ # * `bigtable.auto_scaling`
545
+ # * `bigtable.enable_multi_region_replica`
545
546
  # @yield [result, operation] Access the result along with the TransportOperation object
546
547
  # @yieldparam result [::Gapic::Operation]
547
548
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1049,7 +1050,14 @@ module Google
1049
1050
  # Updatable fields:
1050
1051
  #
1051
1052
  # * `labels`
1052
- # * `serviceAgentType`
1053
+ # * `service_agent_type`
1054
+ # * `big_query_source`
1055
+ # * `big_query_source.uri`
1056
+ # * `big_query_source.entity_id_columns`
1057
+ # * `feature_registry_source`
1058
+ # * `feature_registry_source.feature_groups`
1059
+ # * `sync_config`
1060
+ # * `sync_config.cron`
1053
1061
  # @yield [result, operation] Access the result along with the TransportOperation object
1054
1062
  # @yieldparam result [::Gapic::Operation]
1055
1063
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -565,6 +565,9 @@ module Google
565
565
  # Updatable fields:
566
566
  #
567
567
  # * `labels`
568
+ # * `description`
569
+ # * `big_query`
570
+ # * `big_query.entity_id_columns`
568
571
  #
569
572
  # @yield [response, operation] Access the result along with the RPC operation
570
573
  # @yieldparam response [::Gapic::Operation]
@@ -1126,7 +1129,8 @@ module Google
1126
1129
  #
1127
1130
  # * `description`
1128
1131
  # * `labels`
1129
- # * `disable_monitoring` (Not supported for FeatureRegistry Feature)
1132
+ # * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
1133
+ # * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
1130
1134
  #
1131
1135
  # @yield [response, operation] Access the result along with the RPC operation
1132
1136
  # @yieldparam response [::Gapic::Operation]
@@ -539,6 +539,9 @@ module Google
539
539
  # Updatable fields:
540
540
  #
541
541
  # * `labels`
542
+ # * `description`
543
+ # * `big_query`
544
+ # * `big_query.entity_id_columns`
542
545
  # @yield [result, operation] Access the result along with the TransportOperation object
543
546
  # @yieldparam result [::Gapic::Operation]
544
547
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1065,7 +1068,8 @@ module Google
1065
1068
  #
1066
1069
  # * `description`
1067
1070
  # * `labels`
1068
- # * `disable_monitoring` (Not supported for FeatureRegistry Feature)
1071
+ # * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
1072
+ # * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
1069
1073
  # @yield [result, operation] Access the result along with the TransportOperation object
1070
1074
  # @yieldparam result [::Gapic::Operation]
1071
1075
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -1775,7 +1775,8 @@ module Google
1775
1775
  #
1776
1776
  # * `description`
1777
1777
  # * `labels`
1778
- # * `disable_monitoring` (Not supported for FeatureRegistry Feature)
1778
+ # * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
1779
+ # * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
1779
1780
  #
1780
1781
  # @yield [response, operation] Access the result along with the RPC operation
1781
1782
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
@@ -1672,7 +1672,8 @@ module Google
1672
1672
  #
1673
1673
  # * `description`
1674
1674
  # * `labels`
1675
- # * `disable_monitoring` (Not supported for FeatureRegistry Feature)
1675
+ # * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
1676
+ # * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
1676
1677
  # @yield [result, operation] Access the result along with the TransportOperation object
1677
1678
  # @yieldparam result [::Google::Cloud::AIPlatform::V1::Feature]
1678
1679
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -206,7 +206,7 @@ module Google
206
206
  # @param options [::Gapic::CallOptions, ::Hash]
207
207
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
208
208
  #
209
- # @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil)
209
+ # @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil, system_instruction: nil, tools: nil)
210
210
  # Pass arguments to `count_tokens` via keyword arguments. Note that at
211
211
  # least one keyword argument is required. To specify no parameters, or to keep all
212
212
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -216,14 +216,25 @@ module Google
216
216
  # Format:
217
217
  # `projects/{project}/locations/{location}/endpoints/{endpoint}`
218
218
  # @param model [::String]
219
- # Required. The name of the publisher model requested to serve the
219
+ # Optional. The name of the publisher model requested to serve the
220
220
  # prediction. Format:
221
221
  # `projects/{project}/locations/{location}/publishers/*/models/*`
222
222
  # @param instances [::Array<::Google::Protobuf::Value, ::Hash>]
223
- # Required. The instances that are the input to token counting call.
223
+ # Optional. The instances that are the input to token counting call.
224
224
  # Schema is identical to the prediction schema of the underlying model.
225
225
  # @param contents [::Array<::Google::Cloud::AIPlatform::V1::Content, ::Hash>]
226
- # Required. Input content.
226
+ # Optional. Input content.
227
+ # @param system_instruction [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
228
+ # Optional. The user provided system instructions for the model.
229
+ # Note: only text should be used in parts and content in each part will be in
230
+ # a separate paragraph.
231
+ # @param tools [::Array<::Google::Cloud::AIPlatform::V1::Tool, ::Hash>]
232
+ # Optional. A list of `Tools` the model may use to generate the next
233
+ # response.
234
+ #
235
+ # A `Tool` is a piece of code that enables the system to interact with
236
+ # external systems to perform an action, or set of actions, outside of
237
+ # knowledge and scope of the model.
227
238
  #
228
239
  # @yield [response, operation] Access the result along with the RPC operation
229
240
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::CountTokensResponse]
@@ -201,7 +201,7 @@ module Google
201
201
  # @param options [::Gapic::CallOptions, ::Hash]
202
202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
203
  #
204
- # @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil)
204
+ # @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil, system_instruction: nil, tools: nil)
205
205
  # Pass arguments to `count_tokens` via keyword arguments. Note that at
206
206
  # least one keyword argument is required. To specify no parameters, or to keep all
207
207
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -211,14 +211,25 @@ module Google
211
211
  # Format:
212
212
  # `projects/{project}/locations/{location}/endpoints/{endpoint}`
213
213
  # @param model [::String]
214
- # Required. The name of the publisher model requested to serve the
214
+ # Optional. The name of the publisher model requested to serve the
215
215
  # prediction. Format:
216
216
  # `projects/{project}/locations/{location}/publishers/*/models/*`
217
217
  # @param instances [::Array<::Google::Protobuf::Value, ::Hash>]
218
- # Required. The instances that are the input to token counting call.
218
+ # Optional. The instances that are the input to token counting call.
219
219
  # Schema is identical to the prediction schema of the underlying model.
220
220
  # @param contents [::Array<::Google::Cloud::AIPlatform::V1::Content, ::Hash>]
221
- # Required. Input content.
221
+ # Optional. Input content.
222
+ # @param system_instruction [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
223
+ # Optional. The user provided system instructions for the model.
224
+ # Note: only text should be used in parts and content in each part will be in
225
+ # a separate paragraph.
226
+ # @param tools [::Array<::Google::Cloud::AIPlatform::V1::Tool, ::Hash>]
227
+ # Optional. A list of `Tools` the model may use to generate the next
228
+ # response.
229
+ #
230
+ # A `Tool` is a piece of code that enables the system to interact with
231
+ # external systems to perform an action, or set of actions, outside of
232
+ # knowledge and scope of the model.
222
233
  # @yield [result, operation] Access the result along with the TransportOperation object
223
234
  # @yieldparam result [::Google::Cloud::AIPlatform::V1::CountTokensResponse]
224
235
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -206,7 +206,7 @@ module Google
206
206
  # @param options [::Gapic::CallOptions, ::Hash]
207
207
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
208
208
  #
209
- # @overload get_publisher_model(name: nil, language_code: nil, view: nil)
209
+ # @overload get_publisher_model(name: nil, language_code: nil, view: nil, is_hugging_face_model: nil)
210
210
  # Pass arguments to `get_publisher_model` via keyword arguments. Note that at
211
211
  # least one keyword argument is required. To specify no parameters, or to keep all
212
212
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -217,9 +217,12 @@ module Google
217
217
  # `publishers/{publisher}/models/{publisher_model}`
218
218
  # @param language_code [::String]
219
219
  # Optional. The IETF BCP-47 language code representing the language in which
220
- # the publisher model's text information should be written in (see go/bcp47).
220
+ # the publisher model's text information should be written in.
221
221
  # @param view [::Google::Cloud::AIPlatform::V1::PublisherModelView]
222
222
  # Optional. PublisherModel view specifying which fields to read.
223
+ # @param is_hugging_face_model [::Boolean]
224
+ # Optional. Boolean indicates whether the requested model is a Hugging Face
225
+ # model.
223
226
  #
224
227
  # @yield [response, operation] Access the result along with the RPC operation
225
228
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::PublisherModel]
@@ -201,7 +201,7 @@ module Google
201
201
  # @param options [::Gapic::CallOptions, ::Hash]
202
202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
203
  #
204
- # @overload get_publisher_model(name: nil, language_code: nil, view: nil)
204
+ # @overload get_publisher_model(name: nil, language_code: nil, view: nil, is_hugging_face_model: nil)
205
205
  # Pass arguments to `get_publisher_model` via keyword arguments. Note that at
206
206
  # least one keyword argument is required. To specify no parameters, or to keep all
207
207
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -212,9 +212,12 @@ module Google
212
212
  # `publishers/{publisher}/models/{publisher_model}`
213
213
  # @param language_code [::String]
214
214
  # Optional. The IETF BCP-47 language code representing the language in which
215
- # the publisher model's text information should be written in (see go/bcp47).
215
+ # the publisher model's text information should be written in.
216
216
  # @param view [::Google::Cloud::AIPlatform::V1::PublisherModelView]
217
217
  # Optional. PublisherModel view specifying which fields to read.
218
+ # @param is_hugging_face_model [::Boolean]
219
+ # Optional. Boolean indicates whether the requested model is a Hugging Face
220
+ # model.
218
221
  # @yield [result, operation] Access the result along with the TransportOperation object
219
222
  # @yieldparam result [::Google::Cloud::AIPlatform::V1::PublisherModel]
220
223
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45
 
@@ -39,7 +39,7 @@ module Google
39
39
  endpoint_template: endpoint_template,
40
40
  universe_domain: universe_domain,
41
41
  credentials: credentials,
42
- numeric_enums: false,
42
+ numeric_enums: true,
43
43
  raise_faraday_errors: false
44
44
  end
45
45