google-apis-aiplatform_v1 0.96.0 → 0.97.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: f3030797d8493cb5ab58a7560d5313760df1121794692711a03ebaaaed6f337d
4
- data.tar.gz: e3c7711bac22f0ebf806f91c6355b351bafe2941850c528ba5ba65d12ba91d76
3
+ metadata.gz: 2f5535ba6baec9d06f5a320dd23c5c322db94d2054312cf6453ac23168b777e9
4
+ data.tar.gz: 40a38eaaa98a91392ca087430ab142532eb17f0432fcf81e2f9146597b4877aa
5
5
  SHA512:
6
- metadata.gz: 4638bd0fb2ef58703d494a7b5a7569e6ddede0919ca17fbe9eb1ee1c4c0adc8d71ab4cfc8c8ecc3f695dad32796e20f64217d28cacfdb1451f7e790040e2f4ad
7
- data.tar.gz: e696b48f316ab778ac93841ed8ca2e8a3f235fac7ee16e0c10e199c578fca58445d5bf0fda89dc97847ad788e4e1b094027d59f53ba474081bd1435fb7d64eb4
6
+ metadata.gz: 4280d20b133c5cc6c06d16eba4a86b90993bd76315b0dd05beaf511be53e40f8ac0efa4199c6b16251354663aa2a3acb22bc14a28f220ec531a79f1142084c51
7
+ data.tar.gz: 5c088a1ec58a3f76fe0098bd52a940337e92f23ff2b1abf0c7c43743eabfc1753e47eb164e57d32ca5f85f74cac40b46c8a2a61de86702d9c07b42a64a9242b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.97.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260930
6
+
3
7
  ### v0.96.0 (2026-09-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20260912
@@ -45,9 +45,9 @@ module Google
45
45
  class CloudAiLargeModelsVisionExperimentsResponseProEditResult
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
- # The output structured prompt produced by this edit.
48
+ # The output structured prompt (JSON string) produced by this edit.
49
49
  # Corresponds to the JSON property `structuredPrompt`
50
- # @return [Hash<String,Object>]
50
+ # @return [String]
51
51
  attr_accessor :structured_prompt
52
52
 
53
53
  def initialize(**args)
@@ -383,15 +383,16 @@ module Google
383
383
  # @return [String]
384
384
  attr_accessor :glob_pattern
385
385
 
386
- # Horizontal offset in pixels to shift the input frame from center. Positive
387
- # values shift right, negative values shift left. Optional. Default is 0 (
388
- # centered).
386
+ # Horizontal offset in pixels of the frame's left edge from the canvas's left
387
+ # edge. Values outside the canvas crop the frame. Optional. Default is 0 (frame
388
+ # flush with the canvas's left edge).
389
389
  # Corresponds to the JSON property `horizontalOffset`
390
390
  # @return [Fixnum]
391
391
  attr_accessor :horizontal_offset
392
392
 
393
- # Vertical offset in pixels to shift the input frame from center. Positive
394
- # values shift down, negative values shift up. Optional. Default is 0 (centered).
393
+ # Vertical offset in pixels of the frame's top edge from the canvas's top edge.
394
+ # Values outside the canvas crop the frame. Optional. Default is 0 (frame flush
395
+ # with the canvas's top edge).
395
396
  # Corresponds to the JSON property `verticalOffset`
396
397
  # @return [Fixnum]
397
398
  attr_accessor :vertical_offset
@@ -424,10 +425,10 @@ module Google
424
425
  # @return [String]
425
426
  attr_accessor :from_operation_id
426
427
 
427
- # A JSON object containing the user's modified URF. The URF Editing Preamble
428
+ # A JSON string containing the user's modified URF. The URF Editing Preamble
428
429
  # will diff this against the original URF to determine what changed.
429
430
  # Corresponds to the JSON property `structuredPrompt`
430
- # @return [Hash<String,Object>]
431
+ # @return [String]
431
432
  attr_accessor :structured_prompt
432
433
 
433
434
  def initialize(**args)
@@ -1774,7 +1775,9 @@ module Google
1774
1775
  end
1775
1776
 
1776
1777
  # A tool provides a list of actions available to the Agent during the process of
1777
- # executing a task.
1778
+ # executing a task. Example JSON for an MCP server tool: ` "type": "mcp_server",
1779
+ # "name": "my-mcp-server", "url": "https://api.example.com/mcp", "headers": ` "
1780
+ # Authorization": "Bearer token123" ` `
1778
1781
  class GoogleCloudAiplatformV1AgentTool
1779
1782
  include Google::Apis::Core::Hashable
1780
1783
 
@@ -1799,12 +1802,11 @@ module Google
1799
1802
  # @return [String]
1800
1803
  attr_accessor :type
1801
1804
 
1802
- # Optional. Temporary: the tool's runtime reference, consumed by CreateAgent to
1803
- # create the downstream AI App. Applicable when `type` is `mcp_server` or `
1804
- # endpoint`. It is duplicated here (the resource name is already in `name`) only
1805
- # because the Agent service is not yet connected to Agent Registry to derive it
1806
- # from `name`; the Task Service instead resolves it from Agent Registry (
1807
- # GetMcpServer / GetEndpoint) at task creation.
1805
+ # Optional. Fallback for the tool's runtime reference, consumed by `CreateAgent`
1806
+ # to create the downstream AI App. Applicable when `type` is `mcp_server` or `
1807
+ # endpoint`, and optional: the Agent service derives the runtime reference from `
1808
+ # name` via Agent Registry (`GetMcpServer` / `GetEndpoint`), and reads this only
1809
+ # when that lookup yields none.
1808
1810
  # Corresponds to the JSON property `url`
1809
1811
  # @return [String]
1810
1812
  attr_accessor :url
@@ -2561,6 +2563,16 @@ module Google
2561
2563
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints]
2562
2564
  attr_accessor :language_hints
2563
2565
 
2566
+ # Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
2567
+ # If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
2568
+ # model performs disfluency removal (eliminating filler words, repetitions, and
2569
+ # false starts), light grammatical cleanup, automatic formatting (paragraphs,
2570
+ # bullet points, numbered lists), and minor user edits (inline self-corrections).
2571
+ # Timestamps and diarization are incompatible with mode `SMART`.
2572
+ # Corresponds to the JSON property `mode`
2573
+ # @return [String]
2574
+ attr_accessor :mode
2575
+
2564
2576
  # Optional. Configures word-level timestamp generation.
2565
2577
  # Corresponds to the JSON property `wordTimestamp`
2566
2578
  # @return [Boolean]
@@ -2579,6 +2591,7 @@ module Google
2579
2591
  @language_auto = args[:language_auto] if args.key?(:language_auto)
2580
2592
  @language_codes = args[:language_codes] if args.key?(:language_codes)
2581
2593
  @language_hints = args[:language_hints] if args.key?(:language_hints)
2594
+ @mode = args[:mode] if args.key?(:mode)
2582
2595
  @word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
2583
2596
  end
2584
2597
  end
@@ -4438,6 +4451,12 @@ module Google
4438
4451
  # @return [String]
4439
4452
  attr_accessor :name
4440
4453
 
4454
+ # Configures the retention behavior of GenAI implicit (automatic) context
4455
+ # caching for this project.
4456
+ # Corresponds to the JSON property `retentionConfig`
4457
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig]
4458
+ attr_accessor :retention_config
4459
+
4441
4460
  def initialize(**args)
4442
4461
  update!(**args)
4443
4462
  end
@@ -4446,6 +4465,27 @@ module Google
4446
4465
  def update!(**args)
4447
4466
  @disable_cache = args[:disable_cache] if args.key?(:disable_cache)
4448
4467
  @name = args[:name] if args.key?(:name)
4468
+ @retention_config = args[:retention_config] if args.key?(:retention_config)
4469
+ end
4470
+ end
4471
+
4472
+ # Configures the retention behavior of GenAI implicit (automatic) context
4473
+ # caching for this project.
4474
+ class GoogleCloudAiplatformV1CacheConfigRetentionConfig
4475
+ include Google::Apis::Core::Hashable
4476
+
4477
+ # Optional. Retention type applied to implicit cache traffic for this project.
4478
+ # Corresponds to the JSON property `retentionType`
4479
+ # @return [String]
4480
+ attr_accessor :retention_type
4481
+
4482
+ def initialize(**args)
4483
+ update!(**args)
4484
+ end
4485
+
4486
+ # Update properties of this object
4487
+ def update!(**args)
4488
+ @retention_type = args[:retention_type] if args.key?(:retention_type)
4449
4489
  end
4450
4490
  end
4451
4491
 
@@ -18224,6 +18264,14 @@ module Google
18224
18264
  # @return [Hash<String,String>]
18225
18265
  attr_accessor :scope
18226
18266
 
18267
+ # Optional. The time zone of the conversation or caller, used as the baseline
18268
+ # for resolving relative time expressions (e.g., "yesterday") and formatting
18269
+ # timestamps. If not set, "UTC" is used. Must be a valid IANA Time Zone Database
18270
+ # name, e.g. "America/New_York".
18271
+ # Corresponds to the JSON property `timeZone`
18272
+ # @return [String]
18273
+ attr_accessor :time_zone
18274
+
18227
18275
  # Defines an Agent Engine Session from which to generate the memories. If `scope`
18228
18276
  # is not provided, the scope will be extracted from the Session (i.e. `"user_id"
18229
18277
  # : sesison.user_id`).
@@ -18248,6 +18296,7 @@ module Google
18248
18296
  @revision_labels = args[:revision_labels] if args.key?(:revision_labels)
18249
18297
  @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
18250
18298
  @scope = args[:scope] if args.key?(:scope)
18299
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
18251
18300
  @vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
18252
18301
  end
18253
18302
  end
@@ -20188,6 +20237,24 @@ module Google
20188
20237
  class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource
20189
20238
  include Google::Apis::Core::Hashable
20190
20239
 
20240
+ # Optional. Restricts the imported spans to a single agent. Accepts either of
20241
+ # two forms, matching `OnlineEvaluator.agent_resource`: * a project-scoped
20242
+ # resource name, matched against the `cloud.resource_id` resource attribute that
20243
+ # Vertex AI Agent Engine agents are stamped with; * an Agent Registry agent URN,
20244
+ # matched against the `gen_ai.main_agent.id` resource attribute that agents on
20245
+ # GKE, and any other runtime that stamps it, are identified by. Scopes `
20246
+ # session_ids` selection only. Traces named explicitly in `trace_ids` are
20247
+ # imported as given and are NOT filtered by this field, because the caller has
20248
+ # already identified them. Setting this field with only `trace_ids` therefore
20249
+ # has no effect. When unset, spans are selected by session or trace ID alone.
20250
+ # That is the pre-existing behavior and it remains the correct one for a session
20251
+ # whose agents run in several deployments, because each deployment stamps its
20252
+ # own `gen_ai.main_agent.id` and filtering on one of them would silently
20253
+ # truncate the trajectory.
20254
+ # Corresponds to the JSON property `agentResource`
20255
+ # @return [String]
20256
+ attr_accessor :agent_resource
20257
+
20191
20258
  # Required. Project ID for the Cloud Trace.
20192
20259
  # Corresponds to the JSON property `projectId`
20193
20260
  # @return [String]
@@ -20210,6 +20277,7 @@ module Google
20210
20277
 
20211
20278
  # Update properties of this object
20212
20279
  def update!(**args)
20280
+ @agent_resource = args[:agent_resource] if args.key?(:agent_resource)
20213
20281
  @project_id = args[:project_id] if args.key?(:project_id)
20214
20282
  @session_ids = args[:session_ids] if args.key?(:session_ids)
20215
20283
  @trace_ids = args[:trace_ids] if args.key?(:trace_ids)
@@ -23336,6 +23404,31 @@ module Google
23336
23404
  end
23337
23405
  end
23338
23406
 
23407
+ # Response message for ServingProfileService.ListServingProfiles.
23408
+ class GoogleCloudAiplatformV1ListServingProfilesResponse
23409
+ include Google::Apis::Core::Hashable
23410
+
23411
+ # Output only. A token to retrieve the next page of results.
23412
+ # Corresponds to the JSON property `nextPageToken`
23413
+ # @return [String]
23414
+ attr_accessor :next_page_token
23415
+
23416
+ # Output only. A list of ServingProfiles.
23417
+ # Corresponds to the JSON property `servingProfiles`
23418
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile>]
23419
+ attr_accessor :serving_profiles
23420
+
23421
+ def initialize(**args)
23422
+ update!(**args)
23423
+ end
23424
+
23425
+ # Update properties of this object
23426
+ def update!(**args)
23427
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
23428
+ @serving_profiles = args[:serving_profiles] if args.key?(:serving_profiles)
23429
+ end
23430
+ end
23431
+
23339
23432
  # Response message for SessionService.ListSessions.
23340
23433
  class GoogleCloudAiplatformV1ListSessionsResponse
23341
23434
  include Google::Apis::Core::Hashable
@@ -29331,8 +29424,11 @@ module Google
29331
29424
  # Optional. Enables sensitive logging. Sensitive logging includes customer core
29332
29425
  # content (prompts, model completions, tool argument payloads and tool responses)
29333
29426
  # . If `false`, those are sanitized and only structural attributes are recorded.
29334
- # No effect unless `observability_enabled` is true. Not yet enforced: `
29335
- # CreateAgent` and `UpdateAgent` currently reject setting this to `true`.
29427
+ # No effect unless `observability_enabled` is true. Settable and returned, but
29428
+ # NOT YET ENFORCED. Nothing reads it at runtime, so `true` does not currently
29429
+ # cause content to be captured, and `false` is not what keeps content from being
29430
+ # captured. Treat it as a recorded intention that takes effect when enforcement
29431
+ # lands.
29336
29432
  # Corresponds to the JSON property `sensitiveLoggingEnabled`
29337
29433
  # @return [Boolean]
29338
29434
  attr_accessor :sensitive_logging_enabled
@@ -30319,6 +30415,11 @@ module Google
30319
30415
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution]
30320
30416
  attr_accessor :media_resolution
30321
30417
 
30418
+ # Structured Metadata Sub-Message for Part
30419
+ # Corresponds to the JSON property `speechMetadata`
30420
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata]
30421
+ attr_accessor :speech_metadata
30422
+
30322
30423
  # Optional. The text content of the part. When sent from the VSCode Gemini Code
30323
30424
  # Assist extension, references to @mentioned items will be converted to markdown
30324
30425
  # boldface text. For example `@my-repo` will be converted to and sent as `**my-
@@ -30361,6 +30462,7 @@ module Google
30361
30462
  @function_response = args[:function_response] if args.key?(:function_response)
30362
30463
  @inline_data = args[:inline_data] if args.key?(:inline_data)
30363
30464
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
30465
+ @speech_metadata = args[:speech_metadata] if args.key?(:speech_metadata)
30364
30466
  @text = args[:text] if args.key?(:text)
30365
30467
  @thought = args[:thought] if args.key?(:thought)
30366
30468
  @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
@@ -45937,6 +46039,17 @@ module Google
45937
46039
  # @return [String]
45938
46040
  attr_accessor :display_name
45939
46041
 
46042
+ # Optional. If true, this policy is evaluated and its result is reported, but
46043
+ # the policy is not enforced: a violation does not block the agent's action. Use
46044
+ # this to validate a policy against real traffic before turning enforcement on.
46045
+ # Defaults to `false`, meaning the policy is enforced. This setting applies only
46046
+ # to this policy. If the SemanticGovernancePolicyEngine for the project is
46047
+ # itself in dry run, every policy behaves as dry run regardless of this field.
46048
+ # Corresponds to the JSON property `dryRun`
46049
+ # @return [Boolean]
46050
+ attr_accessor :dry_run
46051
+ alias_method :dry_run?, :dry_run
46052
+
45940
46053
  # Optional. Used to perform consistent read-modify-write transactions. If
45941
46054
  # provided, the request will only succeed if the etag matches the current value.
45942
46055
  # Otherwise, an ABORTED error will be returned.
@@ -45976,6 +46089,7 @@ module Google
45976
46089
  @create_time = args[:create_time] if args.key?(:create_time)
45977
46090
  @description = args[:description] if args.key?(:description)
45978
46091
  @display_name = args[:display_name] if args.key?(:display_name)
46092
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
45979
46093
  @etag = args[:etag] if args.key?(:etag)
45980
46094
  @mcp_tools = args[:mcp_tools] if args.key?(:mcp_tools)
45981
46095
  @name = args[:name] if args.key?(:name)
@@ -46115,6 +46229,82 @@ module Google
46115
46229
  end
46116
46230
  end
46117
46231
 
46232
+ # Configures the serving behavior for a resource-less GenAI serving.
46233
+ class GoogleCloudAiplatformV1ServingProfile
46234
+ include Google::Apis::Core::Hashable
46235
+
46236
+ # Configuration for Customer-Managed Encryption Keys (CMEK).
46237
+ # Corresponds to the JSON property `cmekConfig`
46238
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig]
46239
+ attr_accessor :cmek_config
46240
+
46241
+ # Output only. Timestamp when the ServingProfile was created.
46242
+ # Corresponds to the JSON property `createTime`
46243
+ # @return [String]
46244
+ attr_accessor :create_time
46245
+
46246
+ # Optional. The description of the ServingProfile.
46247
+ # Corresponds to the JSON property `description`
46248
+ # @return [String]
46249
+ attr_accessor :description
46250
+
46251
+ # Required. The display name of the ServingProfile. The name can be up to 128
46252
+ # characters long and can consist of any UTF-8 characters.
46253
+ # Corresponds to the JSON property `displayName`
46254
+ # @return [String]
46255
+ attr_accessor :display_name
46256
+
46257
+ # Identifier. The resource name of the ServingProfile.
46258
+ # Corresponds to the JSON property `name`
46259
+ # @return [String]
46260
+ attr_accessor :name
46261
+
46262
+ # Required. The specific API this ServingProfile applies to.
46263
+ # Corresponds to the JSON property `scope`
46264
+ # @return [String]
46265
+ attr_accessor :scope
46266
+
46267
+ # Output only. Timestamp when the ServingProfile was last updated.
46268
+ # Corresponds to the JSON property `updateTime`
46269
+ # @return [String]
46270
+ attr_accessor :update_time
46271
+
46272
+ def initialize(**args)
46273
+ update!(**args)
46274
+ end
46275
+
46276
+ # Update properties of this object
46277
+ def update!(**args)
46278
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
46279
+ @create_time = args[:create_time] if args.key?(:create_time)
46280
+ @description = args[:description] if args.key?(:description)
46281
+ @display_name = args[:display_name] if args.key?(:display_name)
46282
+ @name = args[:name] if args.key?(:name)
46283
+ @scope = args[:scope] if args.key?(:scope)
46284
+ @update_time = args[:update_time] if args.key?(:update_time)
46285
+ end
46286
+ end
46287
+
46288
+ # Configuration for Customer-Managed Encryption Keys (CMEK).
46289
+ class GoogleCloudAiplatformV1ServingProfileCmekConfig
46290
+ include Google::Apis::Core::Hashable
46291
+
46292
+ # Represents a customer-managed encryption key specification that can be applied
46293
+ # to a Vertex AI resource.
46294
+ # Corresponds to the JSON property `encryptionSpec`
46295
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
46296
+ attr_accessor :encryption_spec
46297
+
46298
+ def initialize(**args)
46299
+ update!(**args)
46300
+ end
46301
+
46302
+ # Update properties of this object
46303
+ def update!(**args)
46304
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
46305
+ end
46306
+ end
46307
+
46118
46308
  # A session contains a set of actions between users and Vertex agents.
46119
46309
  class GoogleCloudAiplatformV1Session
46120
46310
  include Google::Apis::Core::Hashable
@@ -46692,6 +46882,31 @@ module Google
46692
46882
  end
46693
46883
  end
46694
46884
 
46885
+ # Structured Metadata Sub-Message for Part
46886
+ class GoogleCloudAiplatformV1SpeechMetadata
46887
+ include Google::Apis::Core::Hashable
46888
+
46889
+ # Optional. Identifies which speaker is speaking this turn.
46890
+ # Corresponds to the JSON property `speaker`
46891
+ # @return [String]
46892
+ attr_accessor :speaker
46893
+
46894
+ # Optional. Natural language description of the vocal style (e.g., "cheerful").
46895
+ # Corresponds to the JSON property `style`
46896
+ # @return [String]
46897
+ attr_accessor :style
46898
+
46899
+ def initialize(**args)
46900
+ update!(**args)
46901
+ end
46902
+
46903
+ # Update properties of this object
46904
+ def update!(**args)
46905
+ @speaker = args[:speaker] if args.key?(:speaker)
46906
+ @style = args[:style] if args.key?(:style)
46907
+ end
46908
+ end
46909
+
46695
46910
  # Metadata information for NotebookService.StartNotebookRuntime.
46696
46911
  class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
46697
46912
  include Google::Apis::Core::Hashable
@@ -49635,6 +49850,11 @@ module Google
49635
49850
  class GoogleCloudAiplatformV1ToolComputerUse
49636
49851
  include Google::Apis::Core::Hashable
49637
49852
 
49853
+ # Optional. Disabled safety policies for computer use.
49854
+ # Corresponds to the JSON property `disabledSafetyPolicies`
49855
+ # @return [Array<String>]
49856
+ attr_accessor :disabled_safety_policies
49857
+
49638
49858
  # Optional. Enables the prompt injection detection check on computer-use request.
49639
49859
  # Corresponds to the JSON property `enablePromptInjectionDetection`
49640
49860
  # @return [Boolean]
@@ -49662,6 +49882,7 @@ module Google
49662
49882
 
49663
49883
  # Update properties of this object
49664
49884
  def update!(**args)
49885
+ @disabled_safety_policies = args[:disabled_safety_policies] if args.key?(:disabled_safety_policies)
49665
49886
  @enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection)
49666
49887
  @environment = args[:environment] if args.key?(:environment)
49667
49888
  @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
@@ -51393,6 +51614,11 @@ module Google
51393
51614
  # @return [String]
51394
51615
  attr_accessor :experiment
51395
51616
 
51617
+ # Output only. The Cloud Storage metrics URI associated with this TuningJob.
51618
+ # Corresponds to the JSON property `gcsMetricsUri`
51619
+ # @return [String]
51620
+ attr_accessor :gcs_metrics_uri
51621
+
51396
51622
  # Optional. The labels with user-defined metadata to organize TuningJob and
51397
51623
  # generated resources such as Model and Endpoint. Label keys and values can be
51398
51624
  # no longer than 64 characters (Unicode codepoints), can only contain lowercase
@@ -51483,6 +51709,7 @@ module Google
51483
51709
  @error = args[:error] if args.key?(:error)
51484
51710
  @evaluate_dataset_runs = args[:evaluate_dataset_runs] if args.key?(:evaluate_dataset_runs)
51485
51711
  @experiment = args[:experiment] if args.key?(:experiment)
51712
+ @gcs_metrics_uri = args[:gcs_metrics_uri] if args.key?(:gcs_metrics_uri)
51486
51713
  @labels = args[:labels] if args.key?(:labels)
51487
51714
  @name = args[:name] if args.key?(:name)
51488
51715
  @pre_tuned_model = args[:pre_tuned_model] if args.key?(:pre_tuned_model)
@@ -52817,6 +53044,14 @@ module Google
52817
53044
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig]
52818
53045
  attr_accessor :replicated_voice_config
52819
53046
 
53047
+ # Optional. The speaker identifier for synthesis. Supported formats: * Speaker
53048
+ # name for prebuilt voices (for example, `Orus` or `Kore`). * Voice ID for
53049
+ # stored voices (for example, `voice_xxx`). * Voice replication key (for example,
53050
+ # `voicekey_xxx`).
53051
+ # Corresponds to the JSON property `voice`
53052
+ # @return [String]
53053
+ attr_accessor :voice
53054
+
52820
53055
  def initialize(**args)
52821
53056
  update!(**args)
52822
53057
  end
@@ -52825,6 +53060,7 @@ module Google
52825
53060
  def update!(**args)
52826
53061
  @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
52827
53062
  @replicated_voice_config = args[:replicated_voice_config] if args.key?(:replicated_voice_config)
53063
+ @voice = args[:voice] if args.key?(:voice)
52828
53064
  end
52829
53065
  end
52830
53066
 
@@ -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.96.0"
19
+ GEM_VERSION = "0.97.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260912"
25
+ REVISION = "20260930"
26
26
  end
27
27
  end
28
28
  end
@@ -790,6 +790,12 @@ module Google
790
790
  include Google::Apis::Core::JsonObjectSupport
791
791
  end
792
792
 
793
+ class GoogleCloudAiplatformV1CacheConfigRetentionConfig
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
793
799
  class GoogleCloudAiplatformV1CachedContent
794
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
801
 
@@ -3814,6 +3820,12 @@ module Google
3814
3820
  include Google::Apis::Core::JsonObjectSupport
3815
3821
  end
3816
3822
 
3823
+ class GoogleCloudAiplatformV1ListServingProfilesResponse
3824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3825
+
3826
+ include Google::Apis::Core::JsonObjectSupport
3827
+ end
3828
+
3817
3829
  class GoogleCloudAiplatformV1ListSessionsResponse
3818
3830
  class Representation < Google::Apis::Core::JsonRepresentation; end
3819
3831
 
@@ -7510,6 +7522,18 @@ module Google
7510
7522
  include Google::Apis::Core::JsonObjectSupport
7511
7523
  end
7512
7524
 
7525
+ class GoogleCloudAiplatformV1ServingProfile
7526
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7527
+
7528
+ include Google::Apis::Core::JsonObjectSupport
7529
+ end
7530
+
7531
+ class GoogleCloudAiplatformV1ServingProfileCmekConfig
7532
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7533
+
7534
+ include Google::Apis::Core::JsonObjectSupport
7535
+ end
7536
+
7513
7537
  class GoogleCloudAiplatformV1Session
7514
7538
  class Representation < Google::Apis::Core::JsonRepresentation; end
7515
7539
 
@@ -7600,6 +7624,12 @@ module Google
7600
7624
  include Google::Apis::Core::JsonObjectSupport
7601
7625
  end
7602
7626
 
7627
+ class GoogleCloudAiplatformV1SpeechMetadata
7628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7629
+
7630
+ include Google::Apis::Core::JsonObjectSupport
7631
+ end
7632
+
7603
7633
  class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
7604
7634
  class Representation < Google::Apis::Core::JsonRepresentation; end
7605
7635
 
@@ -8961,7 +8991,7 @@ module Google
8961
8991
  class CloudAiLargeModelsVisionExperimentsResponseProEditResult
8962
8992
  # @private
8963
8993
  class Representation < Google::Apis::Core::JsonRepresentation
8964
- hash :structured_prompt, as: 'structuredPrompt'
8994
+ property :structured_prompt, as: 'structuredPrompt'
8965
8995
  end
8966
8996
  end
8967
8997
 
@@ -9065,7 +9095,7 @@ module Google
9065
9095
  class Representation < Google::Apis::Core::JsonRepresentation
9066
9096
  property :edit_instruction_prompt, as: 'editInstructionPrompt'
9067
9097
  property :from_operation_id, as: 'fromOperationId'
9068
- hash :structured_prompt, as: 'structuredPrompt'
9098
+ property :structured_prompt, as: 'structuredPrompt'
9069
9099
  end
9070
9100
  end
9071
9101
 
@@ -9659,6 +9689,7 @@ module Google
9659
9689
  collection :language_codes, as: 'languageCodes'
9660
9690
  property :language_hints, as: 'languageHints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints::Representation
9661
9691
 
9692
+ property :mode, as: 'mode'
9662
9693
  property :word_timestamp, as: 'wordTimestamp'
9663
9694
  end
9664
9695
  end
@@ -10221,6 +10252,15 @@ module Google
10221
10252
  class Representation < Google::Apis::Core::JsonRepresentation
10222
10253
  property :disable_cache, as: 'disableCache'
10223
10254
  property :name, as: 'name'
10255
+ property :retention_config, as: 'retentionConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig::Representation
10256
+
10257
+ end
10258
+ end
10259
+
10260
+ class GoogleCloudAiplatformV1CacheConfigRetentionConfig
10261
+ # @private
10262
+ class Representation < Google::Apis::Core::JsonRepresentation
10263
+ property :retention_type, as: 'retentionType'
10224
10264
  end
10225
10265
  end
10226
10266
 
@@ -14102,6 +14142,7 @@ module Google
14102
14142
  hash :revision_labels, as: 'revisionLabels'
14103
14143
  property :revision_ttl, as: 'revisionTtl'
14104
14144
  hash :scope, as: 'scope'
14145
+ property :time_zone, as: 'timeZone'
14105
14146
  property :vertex_session_source, as: 'vertexSessionSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource::Representation
14106
14147
 
14107
14148
  end
@@ -14648,6 +14689,7 @@ module Google
14648
14689
  class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource
14649
14690
  # @private
14650
14691
  class Representation < Google::Apis::Core::JsonRepresentation
14692
+ property :agent_resource, as: 'agentResource'
14651
14693
  property :project_id, as: 'projectId'
14652
14694
  collection :session_ids, as: 'sessionIds'
14653
14695
  collection :trace_ids, as: 'traceIds'
@@ -15598,6 +15640,15 @@ module Google
15598
15640
  end
15599
15641
  end
15600
15642
 
15643
+ class GoogleCloudAiplatformV1ListServingProfilesResponse
15644
+ # @private
15645
+ class Representation < Google::Apis::Core::JsonRepresentation
15646
+ property :next_page_token, as: 'nextPageToken'
15647
+ collection :serving_profiles, as: 'servingProfiles', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
15648
+
15649
+ end
15650
+ end
15651
+
15601
15652
  class GoogleCloudAiplatformV1ListSessionsResponse
15602
15653
  # @private
15603
15654
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17513,6 +17564,8 @@ module Google
17513
17564
 
17514
17565
  property :media_resolution, as: 'mediaResolution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution::Representation
17515
17566
 
17567
+ property :speech_metadata, as: 'speechMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata::Representation
17568
+
17516
17569
  property :text, as: 'text'
17517
17570
  property :thought, as: 'thought'
17518
17571
  property :thought_signature, :base64 => true, as: 'thoughtSignature'
@@ -21889,6 +21942,7 @@ module Google
21889
21942
  property :create_time, as: 'createTime'
21890
21943
  property :description, as: 'description'
21891
21944
  property :display_name, as: 'displayName'
21945
+ property :dry_run, as: 'dryRun'
21892
21946
  property :etag, as: 'etag'
21893
21947
  collection :mcp_tools, as: 'mcpTools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SemanticGovernancePolicyMcpTool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SemanticGovernancePolicyMcpTool::Representation
21894
21948
 
@@ -21929,6 +21983,28 @@ module Google
21929
21983
  end
21930
21984
  end
21931
21985
 
21986
+ class GoogleCloudAiplatformV1ServingProfile
21987
+ # @private
21988
+ class Representation < Google::Apis::Core::JsonRepresentation
21989
+ property :cmek_config, as: 'cmekConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig::Representation
21990
+
21991
+ property :create_time, as: 'createTime'
21992
+ property :description, as: 'description'
21993
+ property :display_name, as: 'displayName'
21994
+ property :name, as: 'name'
21995
+ property :scope, as: 'scope'
21996
+ property :update_time, as: 'updateTime'
21997
+ end
21998
+ end
21999
+
22000
+ class GoogleCloudAiplatformV1ServingProfileCmekConfig
22001
+ # @private
22002
+ class Representation < Google::Apis::Core::JsonRepresentation
22003
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
22004
+
22005
+ end
22006
+ end
22007
+
21932
22008
  class GoogleCloudAiplatformV1Session
21933
22009
  # @private
21934
22010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22088,6 +22164,14 @@ module Google
22088
22164
  end
22089
22165
  end
22090
22166
 
22167
+ class GoogleCloudAiplatformV1SpeechMetadata
22168
+ # @private
22169
+ class Representation < Google::Apis::Core::JsonRepresentation
22170
+ property :speaker, as: 'speaker'
22171
+ property :style, as: 'style'
22172
+ end
22173
+ end
22174
+
22091
22175
  class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
22092
22176
  # @private
22093
22177
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22921,6 +23005,7 @@ module Google
22921
23005
  class GoogleCloudAiplatformV1ToolComputerUse
22922
23006
  # @private
22923
23007
  class Representation < Google::Apis::Core::JsonRepresentation
23008
+ collection :disabled_safety_policies, as: 'disabledSafetyPolicies'
22924
23009
  property :enable_prompt_injection_detection, as: 'enablePromptInjectionDetection'
22925
23010
  property :environment, as: 'environment'
22926
23011
  collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
@@ -23499,6 +23584,7 @@ module Google
23499
23584
  collection :evaluate_dataset_runs, as: 'evaluateDatasetRuns', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateDatasetRun, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateDatasetRun::Representation
23500
23585
 
23501
23586
  property :experiment, as: 'experiment'
23587
+ property :gcs_metrics_uri, as: 'gcsMetricsUri'
23502
23588
  hash :labels, as: 'labels'
23503
23589
  property :name, as: 'name'
23504
23590
  property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel::Representation
@@ -23958,6 +24044,7 @@ module Google
23958
24044
 
23959
24045
  property :replicated_voice_config, as: 'replicatedVoiceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig::Representation
23960
24046
 
24047
+ property :voice, as: 'voice'
23961
24048
  end
23962
24049
  end
23963
24050
 
@@ -7701,6 +7701,21 @@ module Google
7701
7701
  # Identifier. Name of the cache config. Format: - `projects/`project`/
7702
7702
  # cacheConfig`.
7703
7703
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfig] google_cloud_aiplatform_v1_cache_config_object
7704
+ # @param [String] update_mask
7705
+ # Optional. The list of fields of `cache_config` to update. Supported paths are `
7706
+ # disable_cache`, `retention_config` (and its subfields such as `
7707
+ # retention_config.retention_type`), and the special value `*`; any other path
7708
+ # returns `INVALID_ARGUMENT`. Fields not covered by the mask keep their stored
7709
+ # value. If the mask is omitted, it is treated as an implied mask covering the
7710
+ # fields populated in `cache_config`, so updating one field never clears another.
7711
+ # `retention_config` is covered only when the request carries it. `
7712
+ # disable_cache` is always covered: it is a bare `bool`, so the server cannot
7713
+ # tell a request that omits it from one that sets it to `false`. `*` requests
7714
+ # full replacement of the resource: every settable field is written from the
7715
+ # request, clearing `retention_config` when the request omits it. It cannot be
7716
+ # combined with other paths. Prefer naming fields explicitly -- a caller that
7717
+ # sends `*` without knowing about a field added to `CacheConfig` later would
7718
+ # silently reset that field.
7704
7719
  # @param [String] fields
7705
7720
  # Selector specifying which fields to include in a partial response.
7706
7721
  # @param [String] quota_user
@@ -7718,13 +7733,14 @@ module Google
7718
7733
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7719
7734
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7720
7735
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7721
- def update_project_cache_config(name, google_cloud_aiplatform_v1_cache_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7736
+ def update_project_cache_config(name, google_cloud_aiplatform_v1_cache_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
7722
7737
  command = make_simple_command(:patch, 'v1/{+name}', options)
7723
7738
  command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfig::Representation
7724
7739
  command.request_object = google_cloud_aiplatform_v1_cache_config_object
7725
7740
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
7726
7741
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
7727
7742
  command.params['name'] = name unless name.nil?
7743
+ command.query['updateMask'] = update_mask unless update_mask.nil?
7728
7744
  command.query['fields'] = fields unless fields.nil?
7729
7745
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7730
7746
  execute_or_queue_command(command, &block)
@@ -32760,6 +32776,185 @@ module Google
32760
32776
  execute_or_queue_command(command, &block)
32761
32777
  end
32762
32778
 
32779
+ # Creates a ServingProfile.
32780
+ # @param [String] parent
32781
+ # Required. The resource name of the Location to create the ServingProfile in.
32782
+ # Format: `projects/`project`/locations/`location``
32783
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] google_cloud_aiplatform_v1_serving_profile_object
32784
+ # @param [String] serving_profile_id
32785
+ # Required. The ID to use for the ServingProfile, which will become the final
32786
+ # component of the ServingProfile's resource name. This value should be 1-63
32787
+ # characters, and valid characters are `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
32788
+ # @param [String] fields
32789
+ # Selector specifying which fields to include in a partial response.
32790
+ # @param [String] quota_user
32791
+ # Available to use for quota purposes for server-side applications. Can be any
32792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32793
+ # @param [Google::Apis::RequestOptions] options
32794
+ # Request-specific options
32795
+ #
32796
+ # @yield [result, err] Result & error if block supplied
32797
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
32798
+ # @yieldparam err [StandardError] error object if request failed
32799
+ #
32800
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
32801
+ #
32802
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32803
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32804
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32805
+ def create_project_location_serving_profile(parent, google_cloud_aiplatform_v1_serving_profile_object = nil, serving_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
32806
+ command = make_simple_command(:post, 'v1/{+parent}/servingProfiles', options)
32807
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
32808
+ command.request_object = google_cloud_aiplatform_v1_serving_profile_object
32809
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
32810
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
32811
+ command.params['parent'] = parent unless parent.nil?
32812
+ command.query['servingProfileId'] = serving_profile_id unless serving_profile_id.nil?
32813
+ command.query['fields'] = fields unless fields.nil?
32814
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32815
+ execute_or_queue_command(command, &block)
32816
+ end
32817
+
32818
+ # Deletes a ServingProfile.
32819
+ # @param [String] name
32820
+ # Required. The name of the ServingProfile resource to be deleted. Format: `
32821
+ # projects/`project`/locations/`location`/servingProfiles/`serving_profile``
32822
+ # @param [String] fields
32823
+ # Selector specifying which fields to include in a partial response.
32824
+ # @param [String] quota_user
32825
+ # Available to use for quota purposes for server-side applications. Can be any
32826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32827
+ # @param [Google::Apis::RequestOptions] options
32828
+ # Request-specific options
32829
+ #
32830
+ # @yield [result, err] Result & error if block supplied
32831
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
32832
+ # @yieldparam err [StandardError] error object if request failed
32833
+ #
32834
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
32835
+ #
32836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32839
+ def delete_project_location_serving_profile(name, fields: nil, quota_user: nil, options: nil, &block)
32840
+ command = make_simple_command(:delete, 'v1/{+name}', options)
32841
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
32842
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
32843
+ command.params['name'] = name unless name.nil?
32844
+ command.query['fields'] = fields unless fields.nil?
32845
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32846
+ execute_or_queue_command(command, &block)
32847
+ end
32848
+
32849
+ # Gets a ServingProfile.
32850
+ # @param [String] name
32851
+ # Required. The name of the ServingProfile resource. Format: `projects/`project`/
32852
+ # locations/`location`/servingProfiles/`serving_profile``
32853
+ # @param [String] fields
32854
+ # Selector specifying which fields to include in a partial response.
32855
+ # @param [String] quota_user
32856
+ # Available to use for quota purposes for server-side applications. Can be any
32857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32858
+ # @param [Google::Apis::RequestOptions] options
32859
+ # Request-specific options
32860
+ #
32861
+ # @yield [result, err] Result & error if block supplied
32862
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] parsed result object
32863
+ # @yieldparam err [StandardError] error object if request failed
32864
+ #
32865
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile]
32866
+ #
32867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32870
+ def get_project_location_serving_profile(name, fields: nil, quota_user: nil, options: nil, &block)
32871
+ command = make_simple_command(:get, 'v1/{+name}', options)
32872
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
32873
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile
32874
+ command.params['name'] = name unless name.nil?
32875
+ command.query['fields'] = fields unless fields.nil?
32876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32877
+ execute_or_queue_command(command, &block)
32878
+ end
32879
+
32880
+ # Lists ServingProfiles in a Location.
32881
+ # @param [String] parent
32882
+ # Required. The resource name of the Location to list the ServingProfiles from.
32883
+ # Format: `projects/`project`/locations/`location``
32884
+ # @param [Fixnum] page_size
32885
+ # Optional. The standard list page size. If unspecified, at most 100
32886
+ # ServingProfiles will be returned. The maximum value is 1000; values above 1000
32887
+ # will be coerced to 1000.
32888
+ # @param [String] page_token
32889
+ # Optional. The standard list page token.
32890
+ # @param [String] fields
32891
+ # Selector specifying which fields to include in a partial response.
32892
+ # @param [String] quota_user
32893
+ # Available to use for quota purposes for server-side applications. Can be any
32894
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32895
+ # @param [Google::Apis::RequestOptions] options
32896
+ # Request-specific options
32897
+ #
32898
+ # @yield [result, err] Result & error if block supplied
32899
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse] parsed result object
32900
+ # @yieldparam err [StandardError] error object if request failed
32901
+ #
32902
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse]
32903
+ #
32904
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32905
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32906
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32907
+ def list_project_location_serving_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
32908
+ command = make_simple_command(:get, 'v1/{+parent}/servingProfiles', options)
32909
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse::Representation
32910
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse
32911
+ command.params['parent'] = parent unless parent.nil?
32912
+ command.query['pageSize'] = page_size unless page_size.nil?
32913
+ command.query['pageToken'] = page_token unless page_token.nil?
32914
+ command.query['fields'] = fields unless fields.nil?
32915
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32916
+ execute_or_queue_command(command, &block)
32917
+ end
32918
+
32919
+ # Updates a ServingProfile.
32920
+ # @param [String] name
32921
+ # Identifier. The resource name of the ServingProfile.
32922
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] google_cloud_aiplatform_v1_serving_profile_object
32923
+ # @param [String] update_mask
32924
+ # Optional. The list of fields to update; see https://developers.google.com/
32925
+ # protocol-buffers/docs/reference/google.protobuf#fieldmask. If omitted, all
32926
+ # populated (non-empty) mutable fields are updated; if set to `["*"]`, all
32927
+ # mutable fields are fully replaced (unpopulated values are cleared).
32928
+ # @param [String] fields
32929
+ # Selector specifying which fields to include in a partial response.
32930
+ # @param [String] quota_user
32931
+ # Available to use for quota purposes for server-side applications. Can be any
32932
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32933
+ # @param [Google::Apis::RequestOptions] options
32934
+ # Request-specific options
32935
+ #
32936
+ # @yield [result, err] Result & error if block supplied
32937
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] parsed result object
32938
+ # @yieldparam err [StandardError] error object if request failed
32939
+ #
32940
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile]
32941
+ #
32942
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32943
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32944
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32945
+ def patch_project_location_serving_profile(name, google_cloud_aiplatform_v1_serving_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
32946
+ command = make_simple_command(:patch, 'v1/{+name}', options)
32947
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
32948
+ command.request_object = google_cloud_aiplatform_v1_serving_profile_object
32949
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
32950
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile
32951
+ command.params['name'] = name unless name.nil?
32952
+ command.query['updateMask'] = update_mask unless update_mask.nil?
32953
+ command.query['fields'] = fields unless fields.nil?
32954
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32955
+ execute_or_queue_command(command, &block)
32956
+ end
32957
+
32763
32958
  # Starts asynchronous cancellation on a long-running operation. The server makes
32764
32959
  # a best effort to cancel the operation, but success is not guaranteed. If the
32765
32960
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.96.0
4
+ version: 0.97.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.96.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.97.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: