google-apis-aiplatform_v1 0.72.0 → 0.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a7d47c7458f7832851810a8ab0742ab7a22fbdeebc93cb7863db5b4bac29a81
4
- data.tar.gz: 402f9679aeed780f97683be01935bd00f0cf4a79a12144389b9c601c901ae9a8
3
+ metadata.gz: 8b91ec3f1ce29849f44257c652e521434b8770871767cd13c4851d5de2f26c2e
4
+ data.tar.gz: e614c2cf0d4f89b00a2b7a9f97dbc35ba8ecb13a992d1c154cf5081a71aaa28e
5
5
  SHA512:
6
- metadata.gz: 64ded5e1c3c40f85a5b6557679c19dcd68d2568a4886c347166fb7dfbd2b750c2bc57f03ba9dfc4b0e4308f53b06c57f0e6d418314d557c3aa15db931ed0c264
7
- data.tar.gz: 13a56aad06b82142aab7f61b17d55eecfc364ea080d97e53b743cd51fb9ffcbbbb9c4bb17af158b9c49e7eb7a4c15aba58c0562ad5a3ed70f0cd18629b6aaff2
6
+ metadata.gz: 9e235239584933f572b2f2ba112e607072fd36f3006b175f497efd49e85cc069205acb8379de8468469f471c1642ff4722807871034448c7fa1bd9f0d04a7e6d
7
+ data.tar.gz: b6fcadc4138ac714125132918be22224733daf3ad0c6b7895fb57f58649c5470130c25ccd71920303200a2e6c2165c4a392190baaa80600b9406c3df862d070b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.73.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251114
6
+
3
7
  ### v0.72.0 (2025-11-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20251101
@@ -1568,7 +1568,8 @@ module Google
1568
1568
  # Required. The resource metric name. Supported metrics: * For Online Prediction:
1569
1569
  # * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `
1570
1570
  # aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.
1571
- # googleapis.com/prediction/online/request_count`
1571
+ # googleapis.com/prediction/online/request_count` * `pubsub.googleapis.com/
1572
+ # subscription/num_undelivered_messages`
1572
1573
  # Corresponds to the JSON property `metricName`
1573
1574
  # @return [String]
1574
1575
  attr_accessor :metric_name
@@ -33851,6 +33852,71 @@ module Google
33851
33852
  end
33852
33853
  end
33853
33854
 
33855
+ # Defines data for an application builder.
33856
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData
33857
+ include Google::Apis::Core::Hashable
33858
+
33859
+ # Serialized state of the code repository. This string will typically contain a
33860
+ # JSON representation of the UI's CodeRepositoryService state (files, folders,
33861
+ # content, and any metadata). The UI is responsible for serialization and
33862
+ # deserialization.
33863
+ # Corresponds to the JSON property `codeRepositoryState`
33864
+ # @return [String]
33865
+ attr_accessor :code_repository_state
33866
+
33867
+ # Linked resources attached to the application by the user.
33868
+ # Corresponds to the JSON property `linkedResources`
33869
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource>]
33870
+ attr_accessor :linked_resources
33871
+
33872
+ def initialize(**args)
33873
+ update!(**args)
33874
+ end
33875
+
33876
+ # Update properties of this object
33877
+ def update!(**args)
33878
+ @code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
33879
+ @linked_resources = args[:linked_resources] if args.key?(:linked_resources)
33880
+ end
33881
+ end
33882
+
33883
+ # A linked resource attached to the application by the user.
33884
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource
33885
+ include Google::Apis::Core::Hashable
33886
+
33887
+ # A user-friendly name for the data source shown in the UI.
33888
+ # Corresponds to the JSON property `displayName`
33889
+ # @return [String]
33890
+ attr_accessor :display_name
33891
+
33892
+ # The unique resource name of the data source. The format is determined by the '
33893
+ # type' field. For type "SAVED_PROMPT": projects/`project`/locations/`location`/
33894
+ # datasets/`dataset` For type "AI_AGENT": projects/`project`/locations/`location`
33895
+ # /agents/`agent`
33896
+ # Corresponds to the JSON property `name`
33897
+ # @return [String]
33898
+ attr_accessor :name
33899
+
33900
+ # The type of the linked resource. e.g., "SAVED_PROMPT", "AI_AGENT" This string
33901
+ # corresponds to the name of the LinkedResourceType enum member. See: google3/
33902
+ # cloud/console/web/ai/platform/llm/prompts/build/services/
33903
+ # specs_repository_service/linked_resources/linked_resource.ts
33904
+ # Corresponds to the JSON property `type`
33905
+ # @return [String]
33906
+ attr_accessor :type
33907
+
33908
+ def initialize(**args)
33909
+ update!(**args)
33910
+ end
33911
+
33912
+ # Update properties of this object
33913
+ def update!(**args)
33914
+ @display_name = args[:display_name] if args.key?(:display_name)
33915
+ @name = args[:name] if args.key?(:name)
33916
+ @type = args[:type] if args.key?(:type)
33917
+ end
33918
+ end
33919
+
33854
33920
  # Prompt variation that embeds preambles to prompt string.
33855
33921
  class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt
33856
33922
  include Google::Apis::Core::Hashable
@@ -34004,6 +34070,11 @@ module Google
34004
34070
  class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt
34005
34071
  include Google::Apis::Core::Hashable
34006
34072
 
34073
+ # Defines data for an application builder.
34074
+ # Corresponds to the JSON property `appBuilderData`
34075
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData]
34076
+ attr_accessor :app_builder_data
34077
+
34007
34078
  # The structured data content of a message. A Content message contains a `role`
34008
34079
  # field, which indicates the producer of the content, and a `parts` field, which
34009
34080
  # contains the multi-part data of the message.
@@ -34054,6 +34125,7 @@ module Google
34054
34125
 
34055
34126
  # Update properties of this object
34056
34127
  def update!(**args)
34128
+ @app_builder_data = args[:app_builder_data] if args.key?(:app_builder_data)
34057
34129
  @context = args[:context] if args.key?(:context)
34058
34130
  @examples = args[:examples] if args.key?(:examples)
34059
34131
  @infill_prefix = args[:infill_prefix] if args.key?(:infill_prefix)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251101"
25
+ REVISION = "20251114"
26
26
  end
27
27
  end
28
28
  end
@@ -5494,6 +5494,18 @@ module Google
5494
5494
  include Google::Apis::Core::JsonObjectSupport
5495
5495
  end
5496
5496
 
5497
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData
5498
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5499
+
5500
+ include Google::Apis::Core::JsonObjectSupport
5501
+ end
5502
+
5503
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource
5504
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5505
+
5506
+ include Google::Apis::Core::JsonObjectSupport
5507
+ end
5508
+
5497
5509
  class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt
5498
5510
  class Representation < Google::Apis::Core::JsonRepresentation; end
5499
5511
 
@@ -17100,6 +17112,24 @@ module Google
17100
17112
  end
17101
17113
  end
17102
17114
 
17115
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData
17116
+ # @private
17117
+ class Representation < Google::Apis::Core::JsonRepresentation
17118
+ property :code_repository_state, as: 'codeRepositoryState'
17119
+ collection :linked_resources, as: 'linkedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource::Representation
17120
+
17121
+ end
17122
+ end
17123
+
17124
+ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource
17125
+ # @private
17126
+ class Representation < Google::Apis::Core::JsonRepresentation
17127
+ property :display_name, as: 'displayName'
17128
+ property :name, as: 'name'
17129
+ property :type, as: 'type'
17130
+ end
17131
+ end
17132
+
17103
17133
  class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt
17104
17134
  # @private
17105
17135
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17154,6 +17184,8 @@ module Google
17154
17184
  class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt
17155
17185
  # @private
17156
17186
  class Representation < Google::Apis::Core::JsonRepresentation
17187
+ property :app_builder_data, as: 'appBuilderData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData::Representation
17188
+
17157
17189
  property :context, as: 'context', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
17158
17190
 
17159
17191
  collection :examples, as: 'examples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecPartList, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecPartList::Representation
@@ -11813,6 +11813,45 @@ module Google
11813
11813
  execute_or_queue_command(command, &block)
11814
11814
  end
11815
11815
 
11816
+ # Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
11817
+ # To use this method, invoke_route_prefix must be set to allow the paths that
11818
+ # will be specified in the request.
11819
+ # @param [String] endpoint
11820
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
11821
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
11822
+ # @param [Google::Apis::AiplatformV1::GoogleApiHttpBody] google_api_http_body_object
11823
+ # @param [String] deployed_model_id
11824
+ # ID of the DeployedModel that serves the invoke request.
11825
+ # @param [String] fields
11826
+ # Selector specifying which fields to include in a partial response.
11827
+ # @param [String] quota_user
11828
+ # Available to use for quota purposes for server-side applications. Can be any
11829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11830
+ # @param [Google::Apis::RequestOptions] options
11831
+ # Request-specific options
11832
+ #
11833
+ # @yield [result, err] Result & error if block supplied
11834
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
11835
+ # @yieldparam err [StandardError] error object if request failed
11836
+ #
11837
+ # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
11838
+ #
11839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11842
+ def inference_project_location_endpoint_google_science(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
11843
+ command = make_simple_command(:post, 'v1/{+endpoint}/science/inference', options)
11844
+ command.request_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
11845
+ command.request_object = google_api_http_body_object
11846
+ command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
11847
+ command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
11848
+ command.params['endpoint'] = endpoint unless endpoint.nil?
11849
+ command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
11850
+ command.query['fields'] = fields unless fields.nil?
11851
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11852
+ execute_or_queue_command(command, &block)
11853
+ end
11854
+
11816
11855
  # Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
11817
11856
  # To use this method, invoke_route_prefix must be set to allow the paths that
11818
11857
  # will be specified in the request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.73.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths: