google-cloud-ai_platform-v1 0.61.0 → 0.63.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/ai_platform/v1/bindings_override.rb +24 -0
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +11 -0
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +7 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +11 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +70 -0
  8. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +7 -0
  9. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +7 -0
  10. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +7 -0
  11. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +70 -0
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +7 -0
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +7 -0
  14. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +7 -0
  15. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +70 -0
  16. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +57 -0
  17. data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/client.rb +57 -0
  18. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +7 -0
  19. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +7 -0
  20. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +7 -0
  21. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +70 -0
  22. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +7 -0
  23. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +7 -0
  24. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +7 -0
  25. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +7 -0
  26. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +7 -0
  27. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +70 -0
  28. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +7 -0
  29. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +7 -0
  30. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +26 -0
  31. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +7 -0
  32. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +26 -0
  33. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +70 -0
  34. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +879 -0
  35. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/credentials.rb +47 -0
  36. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/paths.rb +88 -0
  37. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/client.rb +827 -0
  38. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/service_stub.rb +388 -0
  39. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest.rb +53 -0
  40. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service.rb +55 -0
  41. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +7 -0
  42. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +7 -0
  43. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +7 -0
  44. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +70 -0
  45. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +7 -0
  46. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +7 -0
  47. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +7 -0
  48. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +70 -0
  49. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +7 -0
  50. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +7 -0
  51. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +7 -0
  52. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +70 -0
  53. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +7 -0
  54. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +7 -0
  55. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +7 -0
  56. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +70 -0
  57. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -0
  58. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +7 -0
  59. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -0
  60. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +7 -0
  61. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +7 -0
  62. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +7 -0
  63. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +7 -0
  64. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +70 -0
  65. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -0
  66. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +7 -0
  67. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +7 -0
  68. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +70 -0
  69. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +7 -0
  70. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +7 -0
  71. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +124 -0
  72. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +7 -0
  73. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +117 -0
  74. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +70 -0
  75. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +61 -0
  76. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +7 -0
  77. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +7 -0
  78. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +7 -0
  79. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +70 -0
  80. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +7 -0
  81. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +7 -0
  82. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +7 -0
  83. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +70 -0
  84. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +7 -0
  85. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +7 -0
  86. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +7 -0
  87. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +70 -0
  88. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +21 -2
  89. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
  90. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +21 -2
  91. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +600 -0
  92. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/credentials.rb +47 -0
  93. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/paths.rb +52 -0
  94. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb +571 -0
  95. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb +199 -0
  96. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest.rb +53 -0
  97. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service.rb +55 -0
  98. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +921 -0
  99. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/credentials.rb +47 -0
  100. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +821 -0
  101. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/paths.rb +69 -0
  102. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/client.rb +869 -0
  103. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +4328 -0
  104. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/service_stub.rb +388 -0
  105. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest.rb +54 -0
  106. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service.rb +56 -0
  107. data/lib/google/cloud/ai_platform/v1/rest.rb +3 -0
  108. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +7 -0
  109. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +7 -0
  110. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +7 -0
  111. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +70 -0
  112. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +7 -0
  113. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +7 -0
  114. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +7 -0
  115. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +70 -0
  116. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +7 -0
  117. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +7 -0
  118. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +7 -0
  119. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +70 -0
  120. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  121. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +7 -0
  122. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +7 -0
  123. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +7 -0
  124. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +70 -0
  125. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +7 -0
  126. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +7 -0
  127. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +7 -0
  128. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +7 -0
  129. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +7 -0
  130. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +70 -0
  131. data/lib/google/cloud/ai_platform/v1.rb +3 -0
  132. data/lib/google/cloud/aiplatform/v1/cached_content_pb.rb +54 -0
  133. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -1
  134. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +5 -2
  135. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -1
  136. data/lib/google/cloud/aiplatform/v1/gen_ai_cache_service_pb.rb +57 -0
  137. data/lib/google/cloud/aiplatform/v1/gen_ai_cache_service_services_pb.rb +54 -0
  138. data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -1
  139. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +4 -1
  140. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
  141. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +1 -1
  142. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  143. data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_pb.rb +52 -0
  144. data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_services_pb.rb +47 -0
  145. data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +51 -0
  146. data/lib/google/cloud/aiplatform/v1/reasoning_engine_service_pb.rb +62 -0
  147. data/lib/google/cloud/aiplatform/v1/reasoning_engine_service_services_pb.rb +53 -0
  148. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +9 -1
  149. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +12 -0
  150. data/proto_docs/google/cloud/aiplatform/v1/cached_content.rb +105 -0
  151. data/proto_docs/google/cloud/aiplatform/v1/content.rb +61 -0
  152. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +4 -0
  153. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +4 -0
  154. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  155. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +4 -0
  156. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +57 -5
  157. data/proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb +100 -0
  158. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +16 -0
  159. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +4 -0
  160. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  161. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +18 -0
  162. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +39 -0
  163. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  164. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +29 -0
  165. data/proto_docs/google/cloud/aiplatform/v1/gen_ai_cache_service.rb +108 -0
  166. data/proto_docs/google/cloud/aiplatform/v1/index.rb +6 -0
  167. data/proto_docs/google/cloud/aiplatform/v1/io.rb +8 -0
  168. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +8 -0
  169. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -0
  170. data/proto_docs/google/cloud/aiplatform/v1/model.rb +7 -0
  171. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +10 -0
  172. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +10 -0
  173. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +63 -0
  174. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +14 -0
  175. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +42 -2
  176. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +4 -0
  177. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +24 -0
  178. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +14 -0
  179. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +87 -0
  180. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine_execution_service.rb +73 -0
  181. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine_service.rb +136 -0
  182. data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +4 -0
  183. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.rb +12 -0
  184. data/proto_docs/google/cloud/aiplatform/v1/study.rb +24 -0
  185. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +6 -0
  186. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +95 -0
  187. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +14 -0
  188. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +6 -0
  189. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +4 -0
  190. data/proto_docs/google/cloud/aiplatform/v1/value.rb +6 -0
  191. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +32 -0
  192. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +8 -0
  193. data/proto_docs/google/longrunning/operations.rb +4 -0
  194. data/proto_docs/google/protobuf/struct.rb +12 -0
  195. data/proto_docs/google/type/latlng.rb +38 -0
  196. metadata +43 -9
@@ -695,6 +695,112 @@ module Google
695
695
  raise ::Google::Cloud::Error.from_error(e)
696
696
  end
697
697
 
698
+ ##
699
+ # Lists checkpoints of the specified model version.
700
+ #
701
+ # @overload list_model_version_checkpoints(request, options = nil)
702
+ # Pass arguments to `list_model_version_checkpoints` via a request object, either of type
703
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest} or an equivalent Hash.
704
+ #
705
+ # @param request [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest, ::Hash]
706
+ # A request object representing the call parameters. Required. To specify no
707
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
708
+ # @param options [::Gapic::CallOptions, ::Hash]
709
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
710
+ #
711
+ # @overload list_model_version_checkpoints(name: nil, page_size: nil, page_token: nil)
712
+ # Pass arguments to `list_model_version_checkpoints` via keyword arguments. Note that at
713
+ # least one keyword argument is required. To specify no parameters, or to keep all
714
+ # the default parameter values, pass an empty Hash as a request object (see above).
715
+ #
716
+ # @param name [::String]
717
+ # Required. The name of the model version to list checkpoints for.
718
+ # `projects/{project}/locations/{location}/models/{model}@{version}`
719
+ # Example: `projects/{project}/locations/{location}/models/{model}@2`
720
+ # or
721
+ # `projects/{project}/locations/{location}/models/{model}@golden`
722
+ # If no version ID or alias is specified, the latest version will be
723
+ # used.
724
+ # @param page_size [::Integer]
725
+ # Optional. The standard list page size.
726
+ # @param page_token [::String]
727
+ # Optional. The standard list page token.
728
+ # Typically obtained via
729
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsResponse#next_page_token next_page_token}
730
+ # of the previous
731
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_version_checkpoints ListModelVersionCheckpoints}
732
+ # call.
733
+ #
734
+ # @yield [response, operation] Access the result along with the RPC operation
735
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint>]
736
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
737
+ #
738
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint>]
739
+ #
740
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
741
+ #
742
+ # @example Basic example
743
+ # require "google/cloud/ai_platform/v1"
744
+ #
745
+ # # Create a client object. The client can be reused for multiple calls.
746
+ # client = Google::Cloud::AIPlatform::V1::ModelService::Client.new
747
+ #
748
+ # # Create a request. To set request fields, pass in keyword arguments.
749
+ # request = Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest.new
750
+ #
751
+ # # Call the list_model_version_checkpoints method.
752
+ # result = client.list_model_version_checkpoints request
753
+ #
754
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
755
+ # # over elements, and API calls will be issued to fetch pages as needed.
756
+ # result.each do |item|
757
+ # # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint.
758
+ # p item
759
+ # end
760
+ #
761
+ def list_model_version_checkpoints request, options = nil
762
+ raise ::ArgumentError, "request must be provided" if request.nil?
763
+
764
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest
765
+
766
+ # Converts hash and nil to an options object
767
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
768
+
769
+ # Customize the options with defaults
770
+ metadata = @config.rpcs.list_model_version_checkpoints.metadata.to_h
771
+
772
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
773
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
774
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
775
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
776
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
777
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
778
+
779
+ header_params = {}
780
+ if request.name
781
+ header_params["name"] = request.name
782
+ end
783
+
784
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
785
+ metadata[:"x-goog-request-params"] ||= request_params_header
786
+
787
+ options.apply_defaults timeout: @config.rpcs.list_model_version_checkpoints.timeout,
788
+ metadata: metadata,
789
+ retry_policy: @config.rpcs.list_model_version_checkpoints.retry_policy
790
+
791
+ options.apply_defaults timeout: @config.timeout,
792
+ metadata: @config.metadata,
793
+ retry_policy: @config.retry_policy
794
+
795
+ @model_service_stub.call_rpc :list_model_version_checkpoints, request, options: options do |response, operation|
796
+ response = ::Gapic::PagedEnumerable.new @model_service_stub, :list_model_version_checkpoints, request, response, operation, options
797
+ yield response, operation if block_given?
798
+ throw :response, response
799
+ end
800
+ rescue ::GRPC::BadStatus => e
801
+ raise ::Google::Cloud::Error.from_error(e)
802
+ end
803
+
698
804
  ##
699
805
  # Updates a Model.
700
806
  #
@@ -1334,10 +1440,14 @@ module Google
1334
1440
  #
1335
1441
  # This value may be up to 63 characters, and valid characters are
1336
1442
  # `[a-z0-9_-]`. The first character cannot be a number or hyphen.
1443
+ #
1444
+ # Note: The following fields are mutually exclusive: `model_id`, `parent_model`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1337
1445
  # @param parent_model [::String]
1338
1446
  # Optional. Specify this field to copy source_model into this existing
1339
1447
  # Model as a new version. Format:
1340
1448
  # `projects/{project}/locations/{location}/models/{model}`
1449
+ #
1450
+ # Note: The following fields are mutually exclusive: `parent_model`, `model_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1341
1451
  # @param parent [::String]
1342
1452
  # Required. The resource name of the Location into which to copy the Model.
1343
1453
  # Format: `projects/{project}/locations/{location}`
@@ -2119,6 +2229,13 @@ module Google
2119
2229
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2120
2230
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2121
2231
  # * (`nil`) indicating no credentials
2232
+ #
2233
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2234
+ # external source for authentication to Google Cloud, you must validate it before
2235
+ # providing it to a Google API client library. Providing an unvalidated credential
2236
+ # configuration to Google APIs can compromise the security of your systems and data.
2237
+ # For more information, refer to [Validate credential configurations from external
2238
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2122
2239
  # @return [::Object]
2123
2240
  # @!attribute [rw] scope
2124
2241
  # The OAuth scopes
@@ -2255,6 +2372,11 @@ module Google
2255
2372
  #
2256
2373
  attr_reader :list_model_versions
2257
2374
  ##
2375
+ # RPC-specific configuration for `list_model_version_checkpoints`
2376
+ # @return [::Gapic::Config::Method]
2377
+ #
2378
+ attr_reader :list_model_version_checkpoints
2379
+ ##
2258
2380
  # RPC-specific configuration for `update_model`
2259
2381
  # @return [::Gapic::Config::Method]
2260
2382
  #
@@ -2335,6 +2457,8 @@ module Google
2335
2457
  @list_models = ::Gapic::Config::Method.new list_models_config
2336
2458
  list_model_versions_config = parent_rpcs.list_model_versions if parent_rpcs.respond_to? :list_model_versions
2337
2459
  @list_model_versions = ::Gapic::Config::Method.new list_model_versions_config
2460
+ list_model_version_checkpoints_config = parent_rpcs.list_model_version_checkpoints if parent_rpcs.respond_to? :list_model_version_checkpoints
2461
+ @list_model_version_checkpoints = ::Gapic::Config::Method.new list_model_version_checkpoints_config
2338
2462
  update_model_config = parent_rpcs.update_model if parent_rpcs.respond_to? :update_model
2339
2463
  @update_model = ::Gapic::Config::Method.new update_model_config
2340
2464
  update_explanation_dataset_config = parent_rpcs.update_explanation_dataset if parent_rpcs.respond_to? :update_explanation_dataset
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -662,6 +662,105 @@ module Google
662
662
  raise ::Google::Cloud::Error.from_error(e)
663
663
  end
664
664
 
665
+ ##
666
+ # Lists checkpoints of the specified model version.
667
+ #
668
+ # @overload list_model_version_checkpoints(request, options = nil)
669
+ # Pass arguments to `list_model_version_checkpoints` via a request object, either of type
670
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest} or an equivalent Hash.
671
+ #
672
+ # @param request [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest, ::Hash]
673
+ # A request object representing the call parameters. Required. To specify no
674
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
675
+ # @param options [::Gapic::CallOptions, ::Hash]
676
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
677
+ #
678
+ # @overload list_model_version_checkpoints(name: nil, page_size: nil, page_token: nil)
679
+ # Pass arguments to `list_model_version_checkpoints` via keyword arguments. Note that at
680
+ # least one keyword argument is required. To specify no parameters, or to keep all
681
+ # the default parameter values, pass an empty Hash as a request object (see above).
682
+ #
683
+ # @param name [::String]
684
+ # Required. The name of the model version to list checkpoints for.
685
+ # `projects/{project}/locations/{location}/models/{model}@{version}`
686
+ # Example: `projects/{project}/locations/{location}/models/{model}@2`
687
+ # or
688
+ # `projects/{project}/locations/{location}/models/{model}@golden`
689
+ # If no version ID or alias is specified, the latest version will be
690
+ # used.
691
+ # @param page_size [::Integer]
692
+ # Optional. The standard list page size.
693
+ # @param page_token [::String]
694
+ # Optional. The standard list page token.
695
+ # Typically obtained via
696
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsResponse#next_page_token next_page_token}
697
+ # of the previous
698
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Rest::Client#list_model_version_checkpoints ListModelVersionCheckpoints}
699
+ # call.
700
+ # @yield [result, operation] Access the result along with the TransportOperation object
701
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint>]
702
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
703
+ #
704
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint>]
705
+ #
706
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
707
+ #
708
+ # @example Basic example
709
+ # require "google/cloud/ai_platform/v1"
710
+ #
711
+ # # Create a client object. The client can be reused for multiple calls.
712
+ # client = Google::Cloud::AIPlatform::V1::ModelService::Rest::Client.new
713
+ #
714
+ # # Create a request. To set request fields, pass in keyword arguments.
715
+ # request = Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest.new
716
+ #
717
+ # # Call the list_model_version_checkpoints method.
718
+ # result = client.list_model_version_checkpoints request
719
+ #
720
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
721
+ # # over elements, and API calls will be issued to fetch pages as needed.
722
+ # result.each do |item|
723
+ # # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelVersionCheckpoint.
724
+ # p item
725
+ # end
726
+ #
727
+ def list_model_version_checkpoints request, options = nil
728
+ raise ::ArgumentError, "request must be provided" if request.nil?
729
+
730
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest
731
+
732
+ # Converts hash and nil to an options object
733
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
734
+
735
+ # Customize the options with defaults
736
+ call_metadata = @config.rpcs.list_model_version_checkpoints.metadata.to_h
737
+
738
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
739
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
740
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
741
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION,
742
+ transports_version_send: [:rest]
743
+
744
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
745
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
746
+
747
+ options.apply_defaults timeout: @config.rpcs.list_model_version_checkpoints.timeout,
748
+ metadata: call_metadata,
749
+ retry_policy: @config.rpcs.list_model_version_checkpoints.retry_policy
750
+
751
+ options.apply_defaults timeout: @config.timeout,
752
+ metadata: @config.metadata,
753
+ retry_policy: @config.retry_policy
754
+
755
+ @model_service_stub.list_model_version_checkpoints request, options do |result, operation|
756
+ result = ::Gapic::Rest::PagedEnumerable.new @model_service_stub, :list_model_version_checkpoints, "checkpoints", request, result, options
757
+ yield result, operation if block_given?
758
+ throw :response, result
759
+ end
760
+ rescue ::Gapic::Rest::Error => e
761
+ raise ::Google::Cloud::Error.from_error(e)
762
+ end
763
+
665
764
  ##
666
765
  # Updates a Model.
667
766
  #
@@ -1259,10 +1358,14 @@ module Google
1259
1358
  #
1260
1359
  # This value may be up to 63 characters, and valid characters are
1261
1360
  # `[a-z0-9_-]`. The first character cannot be a number or hyphen.
1361
+ #
1362
+ # Note: The following fields are mutually exclusive: `model_id`, `parent_model`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1262
1363
  # @param parent_model [::String]
1263
1364
  # Optional. Specify this field to copy source_model into this existing
1264
1365
  # Model as a new version. Format:
1265
1366
  # `projects/{project}/locations/{location}/models/{model}`
1367
+ #
1368
+ # Note: The following fields are mutually exclusive: `parent_model`, `model_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1266
1369
  # @param parent [::String]
1267
1370
  # Required. The resource name of the Location into which to copy the Model.
1268
1371
  # Format: `projects/{project}/locations/{location}`
@@ -1986,6 +2089,13 @@ module Google
1986
2089
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1987
2090
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1988
2091
  # * (`nil`) indicating no credentials
2092
+ #
2093
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2094
+ # external source for authentication to Google Cloud, you must validate it before
2095
+ # providing it to a Google API client library. Providing an unvalidated credential
2096
+ # configuration to Google APIs can compromise the security of your systems and data.
2097
+ # For more information, refer to [Validate credential configurations from external
2098
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1989
2099
  # @return [::Object]
1990
2100
  # @!attribute [rw] scope
1991
2101
  # The OAuth scopes
@@ -2111,6 +2221,11 @@ module Google
2111
2221
  #
2112
2222
  attr_reader :list_model_versions
2113
2223
  ##
2224
+ # RPC-specific configuration for `list_model_version_checkpoints`
2225
+ # @return [::Gapic::Config::Method]
2226
+ #
2227
+ attr_reader :list_model_version_checkpoints
2228
+ ##
2114
2229
  # RPC-specific configuration for `update_model`
2115
2230
  # @return [::Gapic::Config::Method]
2116
2231
  #
@@ -2191,6 +2306,8 @@ module Google
2191
2306
  @list_models = ::Gapic::Config::Method.new list_models_config
2192
2307
  list_model_versions_config = parent_rpcs.list_model_versions if parent_rpcs.respond_to? :list_model_versions
2193
2308
  @list_model_versions = ::Gapic::Config::Method.new list_model_versions_config
2309
+ list_model_version_checkpoints_config = parent_rpcs.list_model_version_checkpoints if parent_rpcs.respond_to? :list_model_version_checkpoints
2310
+ @list_model_version_checkpoints = ::Gapic::Config::Method.new list_model_version_checkpoints_config
2194
2311
  update_model_config = parent_rpcs.update_model if parent_rpcs.respond_to? :update_model
2195
2312
  @update_model = ::Gapic::Config::Method.new update_model_config
2196
2313
  update_explanation_dataset_config = parent_rpcs.update_explanation_dataset if parent_rpcs.respond_to? :update_explanation_dataset
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -1314,6 +1321,13 @@ module Google
1314
1321
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
1315
1322
  ]
1316
1323
  )
1324
+ .with_bindings(
1325
+ uri_method: :get,
1326
+ uri_template: "/ui/{name}:wait",
1327
+ matches: [
1328
+ ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+/?$}, false]
1329
+ ]
1330
+ )
1317
1331
  .with_bindings(
1318
1332
  uri_method: :get,
1319
1333
  uri_template: "/v1/{name}/operations",
@@ -1510,6 +1524,13 @@ module Google
1510
1524
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
1511
1525
  ]
1512
1526
  )
1527
+ .with_bindings(
1528
+ uri_method: :get,
1529
+ uri_template: "/v1/{name}/operations",
1530
+ matches: [
1531
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/?$}, false]
1532
+ ]
1533
+ )
1513
1534
  .with_bindings(
1514
1535
  uri_method: :get,
1515
1536
  uri_template: "/v1/{name}/operations",
@@ -1993,6 +2014,13 @@ module Google
1993
2014
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
1994
2015
  ]
1995
2016
  )
2017
+ .with_bindings(
2018
+ uri_method: :get,
2019
+ uri_template: "/ui/{name}",
2020
+ matches: [
2021
+ ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+/?$}, false]
2022
+ ]
2023
+ )
1996
2024
  .with_bindings(
1997
2025
  uri_method: :get,
1998
2026
  uri_template: "/v1/{name}",
@@ -2203,6 +2231,13 @@ module Google
2203
2231
  ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2204
2232
  ]
2205
2233
  )
2234
+ .with_bindings(
2235
+ uri_method: :get,
2236
+ uri_template: "/v1/{name}",
2237
+ matches: [
2238
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+/?$}, false]
2239
+ ]
2240
+ )
2206
2241
  .with_bindings(
2207
2242
  uri_method: :get,
2208
2243
  uri_template: "/v1/{name}",
@@ -2651,6 +2686,13 @@ module Google
2651
2686
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2652
2687
  ]
2653
2688
  )
2689
+ .with_bindings(
2690
+ uri_method: :delete,
2691
+ uri_template: "/ui/{name}",
2692
+ matches: [
2693
+ ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+/?$}, false]
2694
+ ]
2695
+ )
2654
2696
  .with_bindings(
2655
2697
  uri_method: :delete,
2656
2698
  uri_template: "/ui/{name}",
@@ -2861,6 +2903,13 @@ module Google
2861
2903
  ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2862
2904
  ]
2863
2905
  )
2906
+ .with_bindings(
2907
+ uri_method: :delete,
2908
+ uri_template: "/v1/{name}",
2909
+ matches: [
2910
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+/?$}, false]
2911
+ ]
2912
+ )
2864
2913
  .with_bindings(
2865
2914
  uri_method: :delete,
2866
2915
  uri_template: "/v1/{name}",
@@ -3512,6 +3561,13 @@ module Google
3512
3561
  ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
3513
3562
  ]
3514
3563
  )
3564
+ .with_bindings(
3565
+ uri_method: :post,
3566
+ uri_template: "/v1/{name}:cancel",
3567
+ matches: [
3568
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+/?$}, false]
3569
+ ]
3570
+ )
3515
3571
  .with_bindings(
3516
3572
  uri_method: :post,
3517
3573
  uri_template: "/v1/{name}:cancel",
@@ -3939,6 +3995,13 @@ module Google
3939
3995
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
3940
3996
  ]
3941
3997
  )
3998
+ .with_bindings(
3999
+ uri_method: :post,
4000
+ uri_template: "/ui/{name}:wait",
4001
+ matches: [
4002
+ ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+/?$}, false]
4003
+ ]
4004
+ )
3942
4005
  .with_bindings(
3943
4006
  uri_method: :post,
3944
4007
  uri_template: "/v1/{name}:wait",
@@ -4142,6 +4205,13 @@ module Google
4142
4205
  ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
4143
4206
  ]
4144
4207
  )
4208
+ .with_bindings(
4209
+ uri_method: :post,
4210
+ uri_template: "/v1/{name}:wait",
4211
+ matches: [
4212
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+/?$}, false]
4213
+ ]
4214
+ )
4145
4215
  .with_bindings(
4146
4216
  uri_method: :post,
4147
4217
  uri_template: "/v1/{name}:wait",
@@ -233,6 +233,46 @@ module Google
233
233
  end
234
234
  end
235
235
 
236
+ ##
237
+ # Baseline implementation for the list_model_version_checkpoints REST call
238
+ #
239
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest]
240
+ # A request object representing the call parameters. Required.
241
+ # @param options [::Gapic::CallOptions]
242
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
243
+ #
244
+ # @yield [result, operation] Access the result along with the TransportOperation object
245
+ # @yieldparam result [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsResponse]
246
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
247
+ #
248
+ # @return [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsResponse]
249
+ # A result object deserialized from the server's reply
250
+ def list_model_version_checkpoints request_pb, options = nil
251
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
252
+
253
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_model_version_checkpoints_request request_pb
254
+ query_string_params = if query_string_params.any?
255
+ query_string_params.to_h { |p| p.split "=", 2 }
256
+ else
257
+ {}
258
+ end
259
+
260
+ response = @client_stub.make_http_request(
261
+ verb,
262
+ uri: uri,
263
+ body: body || "",
264
+ params: query_string_params,
265
+ method_name: "list_model_version_checkpoints",
266
+ options: options
267
+ )
268
+ operation = ::Gapic::Rest::TransportOperation.new response
269
+ result = ::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsResponse.decode_json response.body, ignore_unknown_fields: true
270
+ catch :response do
271
+ yield result, operation if block_given?
272
+ result
273
+ end
274
+ end
275
+
236
276
  ##
237
277
  # Baseline implementation for the update_model REST call
238
278
  #
@@ -878,6 +918,27 @@ module Google
878
918
  transcoder.transcode request_pb
879
919
  end
880
920
 
921
+ ##
922
+ # @private
923
+ #
924
+ # GRPC transcoding helper method for the list_model_version_checkpoints REST call
925
+ #
926
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::ListModelVersionCheckpointsRequest]
927
+ # A request object representing the call parameters. Required.
928
+ # @return [Array(String, [String, nil], Hash{String => String})]
929
+ # Uri, Body, Query string parameters
930
+ def self.transcode_list_model_version_checkpoints_request request_pb
931
+ transcoder = Gapic::Rest::GrpcTranscoder.new
932
+ .with_bindings(
933
+ uri_method: :get,
934
+ uri_template: "/v1/{name}:listCheckpoints",
935
+ matches: [
936
+ ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
937
+ ]
938
+ )
939
+ transcoder.transcode request_pb
940
+ end
941
+
881
942
  ##
882
943
  # @private
883
944
  #
@@ -1917,6 +1917,13 @@ module Google
1917
1917
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1918
1918
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1919
1919
  # * (`nil`) indicating no credentials
1920
+ #
1921
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1922
+ # external source for authentication to Google Cloud, you must validate it before
1923
+ # providing it to a Google API client library. Providing an unvalidated credential
1924
+ # configuration to Google APIs can compromise the security of your systems and data.
1925
+ # For more information, refer to [Validate credential configurations from external
1926
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1920
1927
  # @return [::Object]
1921
1928
  # @!attribute [rw] scope
1922
1929
  # The OAuth scopes
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -1798,6 +1798,13 @@ module Google
1798
1798
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1799
1799
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1800
1800
  # * (`nil`) indicating no credentials
1801
+ #
1802
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1803
+ # external source for authentication to Google Cloud, you must validate it before
1804
+ # providing it to a Google API client library. Providing an unvalidated credential
1805
+ # configuration to Google APIs can compromise the security of your systems and data.
1806
+ # For more information, refer to [Validate credential configurations from external
1807
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1801
1808
  # @return [::Object]
1802
1809
  # @!attribute [rw] scope
1803
1810
  # The OAuth scopes