google-cloud-ai_platform-v1 0.62.0 → 0.64.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) 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 +35 -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 +35 -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 +35 -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 +35 -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 +35 -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 +35 -0
  34. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +7 -0
  35. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/client.rb +7 -0
  36. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +7 -0
  37. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +7 -0
  38. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +7 -0
  39. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +35 -0
  40. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +7 -0
  41. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +7 -0
  42. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +7 -0
  43. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +35 -0
  44. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +7 -0
  45. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +7 -0
  46. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +7 -0
  47. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +35 -0
  48. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +7 -0
  49. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +7 -0
  50. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +7 -0
  51. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +35 -0
  52. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -0
  53. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +7 -0
  54. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -0
  55. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +7 -0
  56. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +7 -0
  57. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +7 -0
  58. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +7 -0
  59. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +35 -0
  60. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -0
  61. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +7 -0
  62. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +7 -0
  63. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +35 -0
  64. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +7 -0
  65. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +7 -0
  66. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +124 -0
  67. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +7 -0
  68. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +117 -0
  69. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +35 -0
  70. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +61 -0
  71. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +7 -0
  72. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +7 -0
  73. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +7 -0
  74. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +35 -0
  75. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +7 -0
  76. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +7 -0
  77. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +7 -0
  78. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +35 -0
  79. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +7 -0
  80. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +7 -0
  81. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +7 -0
  82. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +35 -0
  83. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +7 -0
  84. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +7 -0
  85. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +7 -0
  86. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb +7 -0
  87. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +7 -0
  88. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +7 -0
  89. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/client.rb +7 -0
  90. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +35 -0
  91. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +7 -0
  92. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +7 -0
  93. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +7 -0
  94. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +35 -0
  95. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +7 -0
  96. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +7 -0
  97. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +7 -0
  98. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +35 -0
  99. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +7 -0
  100. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +7 -0
  101. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +7 -0
  102. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +35 -0
  103. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  104. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +7 -0
  105. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +7 -0
  106. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +7 -0
  107. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +35 -0
  108. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +7 -0
  109. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +7 -0
  110. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +7 -0
  111. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +7 -0
  112. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +7 -0
  113. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +35 -0
  114. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -1
  115. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +5 -2
  116. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +5 -1
  117. data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -1
  118. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +4 -1
  119. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
  120. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  121. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +6 -1
  122. data/proto_docs/google/api/client.rb +8 -0
  123. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +12 -0
  124. data/proto_docs/google/cloud/aiplatform/v1/cached_content.rb +4 -0
  125. data/proto_docs/google/cloud/aiplatform/v1/content.rb +61 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +4 -0
  127. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +4 -0
  128. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  129. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +4 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +57 -5
  131. data/proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb +100 -0
  132. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +16 -0
  133. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +4 -0
  134. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  135. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +24 -6
  136. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +56 -0
  137. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  138. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +29 -0
  139. data/proto_docs/google/cloud/aiplatform/v1/index.rb +6 -0
  140. data/proto_docs/google/cloud/aiplatform/v1/io.rb +8 -0
  141. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +8 -0
  142. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -0
  143. data/proto_docs/google/cloud/aiplatform/v1/model.rb +7 -0
  144. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +10 -0
  145. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +10 -0
  146. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +63 -0
  147. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +14 -0
  148. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +4 -0
  149. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +13 -0
  150. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +14 -0
  151. data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +4 -0
  152. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.rb +12 -0
  153. data/proto_docs/google/cloud/aiplatform/v1/study.rb +24 -0
  154. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +6 -0
  155. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +80 -0
  156. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +14 -0
  157. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +6 -0
  158. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +4 -0
  159. data/proto_docs/google/cloud/aiplatform/v1/value.rb +6 -0
  160. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +32 -0
  161. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +8 -0
  162. data/proto_docs/google/longrunning/operations.rb +4 -0
  163. data/proto_docs/google/protobuf/struct.rb +12 -0
  164. metadata +6 -6
@@ -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",
@@ -2000,6 +2014,13 @@ module Google
2000
2014
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2001
2015
  ]
2002
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
+ )
2003
2024
  .with_bindings(
2004
2025
  uri_method: :get,
2005
2026
  uri_template: "/v1/{name}",
@@ -2665,6 +2686,13 @@ module Google
2665
2686
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2666
2687
  ]
2667
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
+ )
2668
2696
  .with_bindings(
2669
2697
  uri_method: :delete,
2670
2698
  uri_template: "/ui/{name}",
@@ -3967,6 +3995,13 @@ module Google
3967
3995
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
3968
3996
  ]
3969
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
+ )
3970
4005
  .with_bindings(
3971
4006
  uri_method: :post,
3972
4007
  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
@@ -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",
@@ -2000,6 +2014,13 @@ module Google
2000
2014
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2001
2015
  ]
2002
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
+ )
2003
2024
  .with_bindings(
2004
2025
  uri_method: :get,
2005
2026
  uri_template: "/v1/{name}",
@@ -2665,6 +2686,13 @@ module Google
2665
2686
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2666
2687
  ]
2667
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
+ )
2668
2696
  .with_bindings(
2669
2697
  uri_method: :delete,
2670
2698
  uri_template: "/ui/{name}",
@@ -3967,6 +3995,13 @@ module Google
3967
3995
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
3968
3996
  ]
3969
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
+ )
3970
4005
  .with_bindings(
3971
4006
  uri_method: :post,
3972
4007
  uri_template: "/v1/{name}:wait",
@@ -855,6 +855,13 @@ module Google
855
855
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
856
856
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
857
857
  # * (`nil`) indicating no credentials
858
+ #
859
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
860
+ # external source for authentication to Google Cloud, you must validate it before
861
+ # providing it to a Google API client library. Providing an unvalidated credential
862
+ # configuration to Google APIs can compromise the security of your systems and data.
863
+ # For more information, refer to [Validate credential configurations from external
864
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
858
865
  # @return [::Object]
859
866
  # @!attribute [rw] scope
860
867
  # 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
@@ -806,6 +806,13 @@ module Google
806
806
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
807
807
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
808
808
  # * (`nil`) indicating no credentials
809
+ #
810
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
811
+ # external source for authentication to Google Cloud, you must validate it before
812
+ # providing it to a Google API client library. Providing an unvalidated credential
813
+ # configuration to Google APIs can compromise the security of your systems and data.
814
+ # For more information, refer to [Validate credential configurations from external
815
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
809
816
  # @return [::Object]
810
817
  # @!attribute [rw] scope
811
818
  # The OAuth scopes
@@ -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",
@@ -2000,6 +2014,13 @@ module Google
2000
2014
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2001
2015
  ]
2002
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
+ )
2003
2024
  .with_bindings(
2004
2025
  uri_method: :get,
2005
2026
  uri_template: "/v1/{name}",
@@ -2665,6 +2686,13 @@ module Google
2665
2686
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
2666
2687
  ]
2667
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
+ )
2668
2696
  .with_bindings(
2669
2697
  uri_method: :delete,
2670
2698
  uri_template: "/ui/{name}",
@@ -3967,6 +3995,13 @@ module Google
3967
3995
  ["name", %r{^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+/?$}, false]
3968
3996
  ]
3969
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
+ )
3970
4005
  .with_bindings(
3971
4006
  uri_method: :post,
3972
4007
  uri_template: "/v1/{name}:wait",
@@ -1508,6 +1508,13 @@ module Google
1508
1508
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1509
1509
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1510
1510
  # * (`nil`) indicating no credentials
1511
+ #
1512
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1513
+ # external source for authentication to Google Cloud, you must validate it before
1514
+ # providing it to a Google API client library. Providing an unvalidated credential
1515
+ # configuration to Google APIs can compromise the security of your systems and data.
1516
+ # For more information, refer to [Validate credential configurations from external
1517
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1511
1518
  # @return [::Object]
1512
1519
  # @!attribute [rw] scope
1513
1520
  # 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
@@ -1417,6 +1417,13 @@ module Google
1417
1417
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1418
1418
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1419
1419
  # * (`nil`) indicating no credentials
1420
+ #
1421
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1422
+ # external source for authentication to Google Cloud, you must validate it before
1423
+ # providing it to a Google API client library. Providing an unvalidated credential
1424
+ # configuration to Google APIs can compromise the security of your systems and data.
1425
+ # For more information, refer to [Validate credential configurations from external
1426
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1420
1427
  # @return [::Object]
1421
1428
  # @!attribute [rw] scope
1422
1429
  # The OAuth scopes