google-apis-aiplatform_v1 0.28.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,11 +41,6 @@ module Google
41
41
  # @return [Array<String>]
42
42
  attr_accessor :rai_media_filtered_reasons
43
43
 
44
- # Billable prediction metrics.
45
- # Corresponds to the JSON property `reportingMetrics`
46
- # @return [Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics]
47
- attr_accessor :reporting_metrics
48
-
49
44
  def initialize(**args)
50
45
  update!(**args)
51
46
  end
@@ -55,7 +50,6 @@ module Google
55
50
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
56
51
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
57
52
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
58
- @reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics)
59
53
  end
60
54
  end
61
55
 
@@ -68,6 +62,13 @@ module Google
68
62
  # @return [String]
69
63
  attr_accessor :encoding
70
64
 
65
+ # Generation seed for the sampled image. This parameter is exposed to the user
66
+ # only if one of the following is true: 1. The user specified per-example seeds
67
+ # in the request. 2. The user doesn't specify the generation seed in the request.
68
+ # Corresponds to the JSON property `generationSeed`
69
+ # @return [Fixnum]
70
+ attr_accessor :generation_seed
71
+
71
72
  # Raw bytes.
72
73
  # Corresponds to the JSON property `image`
73
74
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -106,6 +107,7 @@ module Google
106
107
  # Update properties of this object
107
108
  def update!(**args)
108
109
  @encoding = args[:encoding] if args.key?(:encoding)
110
+ @generation_seed = args[:generation_seed] if args.key?(:generation_seed)
109
111
  @image = args[:image] if args.key?(:image)
110
112
  @image_rai_scores = args[:image_rai_scores] if args.key?(:image_rai_scores)
111
113
  @rai_info = args[:rai_info] if args.key?(:rai_info)
@@ -1686,6 +1688,18 @@ module Google
1686
1688
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourcesConsumed]
1687
1689
  attr_accessor :resources_consumed
1688
1690
 
1691
+ # Output only. Reserved for future use.
1692
+ # Corresponds to the JSON property `satisfiesPzi`
1693
+ # @return [Boolean]
1694
+ attr_accessor :satisfies_pzi
1695
+ alias_method :satisfies_pzi?, :satisfies_pzi
1696
+
1697
+ # Output only. Reserved for future use.
1698
+ # Corresponds to the JSON property `satisfiesPzs`
1699
+ # @return [Boolean]
1700
+ attr_accessor :satisfies_pzs
1701
+ alias_method :satisfies_pzs?, :satisfies_pzs
1702
+
1689
1703
  # The service account that the DeployedModel's container runs as. If not
1690
1704
  # specified, a system generated one will be used, which has minimal permissions
1691
1705
  # and the custom container, if used, may not have enough permission to access
@@ -1745,6 +1759,8 @@ module Google
1745
1759
  @output_info = args[:output_info] if args.key?(:output_info)
1746
1760
  @partial_failures = args[:partial_failures] if args.key?(:partial_failures)
1747
1761
  @resources_consumed = args[:resources_consumed] if args.key?(:resources_consumed)
1762
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1763
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1748
1764
  @service_account = args[:service_account] if args.key?(:service_account)
1749
1765
  @start_time = args[:start_time] if args.key?(:start_time)
1750
1766
  @state = args[:state] if args.key?(:state)
@@ -2227,12 +2243,19 @@ module Google
2227
2243
  class GoogleCloudAiplatformV1BleuSpec
2228
2244
  include Google::Apis::Core::Hashable
2229
2245
 
2246
+ # Optional. Whether to use_effective_order to compute bleu score.
2247
+ # Corresponds to the JSON property `useEffectiveOrder`
2248
+ # @return [Boolean]
2249
+ attr_accessor :use_effective_order
2250
+ alias_method :use_effective_order?, :use_effective_order
2251
+
2230
2252
  def initialize(**args)
2231
2253
  update!(**args)
2232
2254
  end
2233
2255
 
2234
2256
  # Update properties of this object
2235
2257
  def update!(**args)
2258
+ @use_effective_order = args[:use_effective_order] if args.key?(:use_effective_order)
2236
2259
  end
2237
2260
  end
2238
2261
 
@@ -2787,20 +2810,33 @@ module Google
2787
2810
  class GoogleCloudAiplatformV1ComputeTokensRequest
2788
2811
  include Google::Apis::Core::Hashable
2789
2812
 
2790
- # Required. The instances that are the input to token computing API call. Schema
2813
+ # Optional. Input content.
2814
+ # Corresponds to the JSON property `contents`
2815
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
2816
+ attr_accessor :contents
2817
+
2818
+ # Optional. The instances that are the input to token computing API call. Schema
2791
2819
  # is identical to the prediction schema of the text model, even for the non-text
2792
2820
  # models, like chat models, or Codey models.
2793
2821
  # Corresponds to the JSON property `instances`
2794
2822
  # @return [Array<Object>]
2795
2823
  attr_accessor :instances
2796
2824
 
2825
+ # Optional. The name of the publisher model requested to serve the prediction.
2826
+ # Format: projects/`project`/locations/`location`/publishers/*/models/*
2827
+ # Corresponds to the JSON property `model`
2828
+ # @return [String]
2829
+ attr_accessor :model
2830
+
2797
2831
  def initialize(**args)
2798
2832
  update!(**args)
2799
2833
  end
2800
2834
 
2801
2835
  # Update properties of this object
2802
2836
  def update!(**args)
2837
+ @contents = args[:contents] if args.key?(:contents)
2803
2838
  @instances = args[:instances] if args.key?(:instances)
2839
+ @model = args[:model] if args.key?(:model)
2804
2840
  end
2805
2841
  end
2806
2842
 
@@ -3103,23 +3139,39 @@ module Google
3103
3139
  class GoogleCloudAiplatformV1CountTokensRequest
3104
3140
  include Google::Apis::Core::Hashable
3105
3141
 
3106
- # Required. Input content.
3142
+ # Optional. Input content.
3107
3143
  # Corresponds to the JSON property `contents`
3108
3144
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
3109
3145
  attr_accessor :contents
3110
3146
 
3111
- # Required. The instances that are the input to token counting call. Schema is
3147
+ # Optional. The instances that are the input to token counting call. Schema is
3112
3148
  # identical to the prediction schema of the underlying model.
3113
3149
  # Corresponds to the JSON property `instances`
3114
3150
  # @return [Array<Object>]
3115
3151
  attr_accessor :instances
3116
3152
 
3117
- # Required. The name of the publisher model requested to serve the prediction.
3153
+ # Optional. The name of the publisher model requested to serve the prediction.
3118
3154
  # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
3119
3155
  # Corresponds to the JSON property `model`
3120
3156
  # @return [String]
3121
3157
  attr_accessor :model
3122
3158
 
3159
+ # The base structured datatype containing multi-part content of a message. A `
3160
+ # Content` includes a `role` field designating the producer of the `Content` and
3161
+ # a `parts` field containing multi-part data that contains the content of the
3162
+ # message turn.
3163
+ # Corresponds to the JSON property `systemInstruction`
3164
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
3165
+ attr_accessor :system_instruction
3166
+
3167
+ # Optional. A list of `Tools` the model may use to generate the next response. A
3168
+ # `Tool` is a piece of code that enables the system to interact with external
3169
+ # systems to perform an action, or set of actions, outside of knowledge and
3170
+ # scope of the model.
3171
+ # Corresponds to the JSON property `tools`
3172
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>]
3173
+ attr_accessor :tools
3174
+
3123
3175
  def initialize(**args)
3124
3176
  update!(**args)
3125
3177
  end
@@ -3129,6 +3181,8 @@ module Google
3129
3181
  @contents = args[:contents] if args.key?(:contents)
3130
3182
  @instances = args[:instances] if args.key?(:instances)
3131
3183
  @model = args[:model] if args.key?(:model)
3184
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
3185
+ @tools = args[:tools] if args.key?(:tools)
3132
3186
  end
3133
3187
  end
3134
3188
 
@@ -3480,6 +3534,32 @@ module Google
3480
3534
  end
3481
3535
  end
3482
3536
 
3537
+ # Metadata information for NotebookService.CreateNotebookExecutionJob.
3538
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata
3539
+ include Google::Apis::Core::Hashable
3540
+
3541
+ # Generic Metadata shared by all operations.
3542
+ # Corresponds to the JSON property `genericMetadata`
3543
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
3544
+ attr_accessor :generic_metadata
3545
+
3546
+ # A human-readable message that shows the intermediate progress details of
3547
+ # NotebookRuntime.
3548
+ # Corresponds to the JSON property `progressMessage`
3549
+ # @return [String]
3550
+ attr_accessor :progress_message
3551
+
3552
+ def initialize(**args)
3553
+ update!(**args)
3554
+ end
3555
+
3556
+ # Update properties of this object
3557
+ def update!(**args)
3558
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3559
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
3560
+ end
3561
+ end
3562
+
3483
3563
  # Metadata information for NotebookService.CreateNotebookRuntimeTemplate.
3484
3564
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
3485
3565
  include Google::Apis::Core::Hashable
@@ -4013,6 +4093,18 @@ module Google
4013
4093
  # @return [Object]
4014
4094
  attr_accessor :payload
4015
4095
 
4096
+ # Output only. Reserved for future use.
4097
+ # Corresponds to the JSON property `satisfiesPzi`
4098
+ # @return [Boolean]
4099
+ attr_accessor :satisfies_pzi
4100
+ alias_method :satisfies_pzi?, :satisfies_pzi
4101
+
4102
+ # Output only. Reserved for future use.
4103
+ # Corresponds to the JSON property `satisfiesPzs`
4104
+ # @return [Boolean]
4105
+ attr_accessor :satisfies_pzs
4106
+ alias_method :satisfies_pzs?, :satisfies_pzs
4107
+
4016
4108
  # Output only. Timestamp when this DataItem was last updated.
4017
4109
  # Corresponds to the JSON property `updateTime`
4018
4110
  # @return [String]
@@ -4029,6 +4121,8 @@ module Google
4029
4121
  @labels = args[:labels] if args.key?(:labels)
4030
4122
  @name = args[:name] if args.key?(:name)
4031
4123
  @payload = args[:payload] if args.key?(:payload)
4124
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
4125
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
4032
4126
  @update_time = args[:update_time] if args.key?(:update_time)
4033
4127
  end
4034
4128
  end
@@ -4303,11 +4397,23 @@ module Google
4303
4397
  # @return [String]
4304
4398
  attr_accessor :model_reference
4305
4399
 
4306
- # Output only. The resource name of the Dataset.
4400
+ # Output only. Identifier. The resource name of the Dataset.
4307
4401
  # Corresponds to the JSON property `name`
4308
4402
  # @return [String]
4309
4403
  attr_accessor :name
4310
4404
 
4405
+ # Output only. Reserved for future use.
4406
+ # Corresponds to the JSON property `satisfiesPzi`
4407
+ # @return [Boolean]
4408
+ attr_accessor :satisfies_pzi
4409
+ alias_method :satisfies_pzi?, :satisfies_pzi
4410
+
4411
+ # Output only. Reserved for future use.
4412
+ # Corresponds to the JSON property `satisfiesPzs`
4413
+ # @return [Boolean]
4414
+ attr_accessor :satisfies_pzs
4415
+ alias_method :satisfies_pzs?, :satisfies_pzs
4416
+
4311
4417
  # All SavedQueries belong to the Dataset will be returned in List/Get Dataset
4312
4418
  # response. The annotation_specs field will not be populated except for UI cases
4313
4419
  # which will only use annotation_spec_count. In CreateDataset request, a
@@ -4341,6 +4447,8 @@ module Google
4341
4447
  @metadata_schema_uri = args[:metadata_schema_uri] if args.key?(:metadata_schema_uri)
4342
4448
  @model_reference = args[:model_reference] if args.key?(:model_reference)
4343
4449
  @name = args[:name] if args.key?(:name)
4450
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
4451
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
4344
4452
  @saved_queries = args[:saved_queries] if args.key?(:saved_queries)
4345
4453
  @update_time = args[:update_time] if args.key?(:update_time)
4346
4454
  end
@@ -4383,11 +4491,23 @@ module Google
4383
4491
  # @return [String]
4384
4492
  attr_accessor :model_reference
4385
4493
 
4386
- # Output only. The resource name of the DatasetVersion.
4494
+ # Output only. Identifier. The resource name of the DatasetVersion.
4387
4495
  # Corresponds to the JSON property `name`
4388
4496
  # @return [String]
4389
4497
  attr_accessor :name
4390
4498
 
4499
+ # Output only. Reserved for future use.
4500
+ # Corresponds to the JSON property `satisfiesPzi`
4501
+ # @return [Boolean]
4502
+ attr_accessor :satisfies_pzi
4503
+ alias_method :satisfies_pzi?, :satisfies_pzi
4504
+
4505
+ # Output only. Reserved for future use.
4506
+ # Corresponds to the JSON property `satisfiesPzs`
4507
+ # @return [Boolean]
4508
+ attr_accessor :satisfies_pzs
4509
+ alias_method :satisfies_pzs?, :satisfies_pzs
4510
+
4391
4511
  # Output only. Timestamp when this DatasetVersion was last updated.
4392
4512
  # Corresponds to the JSON property `updateTime`
4393
4513
  # @return [String]
@@ -4406,6 +4526,8 @@ module Google
4406
4526
  @metadata = args[:metadata] if args.key?(:metadata)
4407
4527
  @model_reference = args[:model_reference] if args.key?(:model_reference)
4408
4528
  @name = args[:name] if args.key?(:name)
4529
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
4530
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
4409
4531
  @update_time = args[:update_time] if args.key?(:update_time)
4410
4532
  end
4411
4533
  end
@@ -5245,6 +5367,18 @@ module Google
5245
5367
  # @return [String]
5246
5368
  attr_accessor :name
5247
5369
 
5370
+ # Output only. Reserved for future use.
5371
+ # Corresponds to the JSON property `satisfiesPzi`
5372
+ # @return [Boolean]
5373
+ attr_accessor :satisfies_pzi
5374
+ alias_method :satisfies_pzi?, :satisfies_pzi
5375
+
5376
+ # Output only. Reserved for future use.
5377
+ # Corresponds to the JSON property `satisfiesPzs`
5378
+ # @return [Boolean]
5379
+ attr_accessor :satisfies_pzs
5380
+ alias_method :satisfies_pzs?, :satisfies_pzs
5381
+
5248
5382
  # The service account that the DeploymentResourcePool's container(s) run as.
5249
5383
  # Specify the email address of the service account. If this service account is
5250
5384
  # not specified, the container(s) run as a service account that doesn't have
@@ -5266,6 +5400,8 @@ module Google
5266
5400
  @disable_container_logging = args[:disable_container_logging] if args.key?(:disable_container_logging)
5267
5401
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
5268
5402
  @name = args[:name] if args.key?(:name)
5403
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
5404
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
5269
5405
  @service_account = args[:service_account] if args.key?(:service_account)
5270
5406
  end
5271
5407
  end
@@ -5473,6 +5609,24 @@ module Google
5473
5609
  # @return [String]
5474
5610
  attr_accessor :create_time
5475
5611
 
5612
+ # Output only. DNS of the dedicated endpoint. Will only be populated if
5613
+ # dedicated_endpoint_enabled is true. Format: `https://`endpoint_id`.`region`-`
5614
+ # project_number`.prediction.vertexai.goog`.
5615
+ # Corresponds to the JSON property `dedicatedEndpointDns`
5616
+ # @return [String]
5617
+ attr_accessor :dedicated_endpoint_dns
5618
+
5619
+ # If true, the endpoint will be exposed through a dedicated DNS [Endpoint.
5620
+ # dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated
5621
+ # from other users' traffic and will have better performance and reliability.
5622
+ # Note: Once you enabled dedicated endpoint, you won't be able to send request
5623
+ # to the shared DNS `region`-aiplatform.googleapis.com. The limitation will be
5624
+ # removed soon.
5625
+ # Corresponds to the JSON property `dedicatedEndpointEnabled`
5626
+ # @return [Boolean]
5627
+ attr_accessor :dedicated_endpoint_enabled
5628
+ alias_method :dedicated_endpoint_enabled?, :dedicated_endpoint_enabled
5629
+
5476
5630
  # Output only. The models deployed in this Endpoint. To add or remove
5477
5631
  # DeployedModels use EndpointService.DeployModel and EndpointService.
5478
5632
  # UndeployModel respectively.
@@ -5554,6 +5708,18 @@ module Google
5554
5708
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
5555
5709
  attr_accessor :private_service_connect_config
5556
5710
 
5711
+ # Output only. Reserved for future use.
5712
+ # Corresponds to the JSON property `satisfiesPzi`
5713
+ # @return [Boolean]
5714
+ attr_accessor :satisfies_pzi
5715
+ alias_method :satisfies_pzi?, :satisfies_pzi
5716
+
5717
+ # Output only. Reserved for future use.
5718
+ # Corresponds to the JSON property `satisfiesPzs`
5719
+ # @return [Boolean]
5720
+ attr_accessor :satisfies_pzs
5721
+ alias_method :satisfies_pzs?, :satisfies_pzs
5722
+
5557
5723
  # A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
5558
5724
  # that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
5559
5725
  # listed in this map, then it receives no traffic. The traffic percentage values
@@ -5575,6 +5741,8 @@ module Google
5575
5741
  # Update properties of this object
5576
5742
  def update!(**args)
5577
5743
  @create_time = args[:create_time] if args.key?(:create_time)
5744
+ @dedicated_endpoint_dns = args[:dedicated_endpoint_dns] if args.key?(:dedicated_endpoint_dns)
5745
+ @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
5578
5746
  @deployed_models = args[:deployed_models] if args.key?(:deployed_models)
5579
5747
  @description = args[:description] if args.key?(:description)
5580
5748
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -5587,6 +5755,8 @@ module Google
5587
5755
  @network = args[:network] if args.key?(:network)
5588
5756
  @predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
5589
5757
  @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
5758
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
5759
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
5590
5760
  @traffic_split = args[:traffic_split] if args.key?(:traffic_split)
5591
5761
  @update_time = args[:update_time] if args.key?(:update_time)
5592
5762
  end
@@ -8169,19 +8339,32 @@ module Google
8169
8339
  class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
8170
8340
  include Google::Apis::Core::Hashable
8171
8341
 
8342
+ # Represents configuration for private service connect.
8343
+ # Corresponds to the JSON property `privateServiceConnectConfig`
8344
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
8345
+ attr_accessor :private_service_connect_config
8346
+
8172
8347
  # Output only. This field will be populated with the domain name to use for this
8173
8348
  # FeatureOnlineStore
8174
8349
  # Corresponds to the JSON property `publicEndpointDomainName`
8175
8350
  # @return [String]
8176
8351
  attr_accessor :public_endpoint_domain_name
8177
8352
 
8353
+ # Output only. The name of the service attachment resource. Populated if private
8354
+ # service connect is enabled and after FeatureViewSync is created.
8355
+ # Corresponds to the JSON property `serviceAttachment`
8356
+ # @return [String]
8357
+ attr_accessor :service_attachment
8358
+
8178
8359
  def initialize(**args)
8179
8360
  update!(**args)
8180
8361
  end
8181
8362
 
8182
8363
  # Update properties of this object
8183
8364
  def update!(**args)
8365
+ @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
8184
8366
  @public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
8367
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
8185
8368
  end
8186
8369
  end
8187
8370
 
@@ -10108,6 +10291,11 @@ module Google
10108
10291
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10109
10292
  attr_accessor :response_schema
10110
10293
 
10294
+ # Optional. Seed.
10295
+ # Corresponds to the JSON property `seed`
10296
+ # @return [Fixnum]
10297
+ attr_accessor :seed
10298
+
10111
10299
  # Optional. Stop sequences.
10112
10300
  # Corresponds to the JSON property `stopSequences`
10113
10301
  # @return [Array<String>]
@@ -10140,6 +10328,7 @@ module Google
10140
10328
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
10141
10329
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
10142
10330
  @response_schema = args[:response_schema] if args.key?(:response_schema)
10331
+ @seed = args[:seed] if args.key?(:seed)
10143
10332
  @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
10144
10333
  @temperature = args[:temperature] if args.key?(:temperature)
10145
10334
  @top_k = args[:top_k] if args.key?(:top_k)
@@ -10315,10 +10504,95 @@ module Google
10315
10504
  end
10316
10505
  end
10317
10506
 
10507
+ # Grounding chunk.
10508
+ class GoogleCloudAiplatformV1GroundingChunk
10509
+ include Google::Apis::Core::Hashable
10510
+
10511
+ # Chunk from context retrieved by the retrieval tools.
10512
+ # Corresponds to the JSON property `retrievedContext`
10513
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkRetrievedContext]
10514
+ attr_accessor :retrieved_context
10515
+
10516
+ # Chunk from the web.
10517
+ # Corresponds to the JSON property `web`
10518
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkWeb]
10519
+ attr_accessor :web
10520
+
10521
+ def initialize(**args)
10522
+ update!(**args)
10523
+ end
10524
+
10525
+ # Update properties of this object
10526
+ def update!(**args)
10527
+ @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
10528
+ @web = args[:web] if args.key?(:web)
10529
+ end
10530
+ end
10531
+
10532
+ # Chunk from context retrieved by the retrieval tools.
10533
+ class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
10534
+ include Google::Apis::Core::Hashable
10535
+
10536
+ # Title of the attribution.
10537
+ # Corresponds to the JSON property `title`
10538
+ # @return [String]
10539
+ attr_accessor :title
10540
+
10541
+ # URI reference of the attribution.
10542
+ # Corresponds to the JSON property `uri`
10543
+ # @return [String]
10544
+ attr_accessor :uri
10545
+
10546
+ def initialize(**args)
10547
+ update!(**args)
10548
+ end
10549
+
10550
+ # Update properties of this object
10551
+ def update!(**args)
10552
+ @title = args[:title] if args.key?(:title)
10553
+ @uri = args[:uri] if args.key?(:uri)
10554
+ end
10555
+ end
10556
+
10557
+ # Chunk from the web.
10558
+ class GoogleCloudAiplatformV1GroundingChunkWeb
10559
+ include Google::Apis::Core::Hashable
10560
+
10561
+ # Title of the chunk.
10562
+ # Corresponds to the JSON property `title`
10563
+ # @return [String]
10564
+ attr_accessor :title
10565
+
10566
+ # URI reference of the chunk.
10567
+ # Corresponds to the JSON property `uri`
10568
+ # @return [String]
10569
+ attr_accessor :uri
10570
+
10571
+ def initialize(**args)
10572
+ update!(**args)
10573
+ end
10574
+
10575
+ # Update properties of this object
10576
+ def update!(**args)
10577
+ @title = args[:title] if args.key?(:title)
10578
+ @uri = args[:uri] if args.key?(:uri)
10579
+ end
10580
+ end
10581
+
10318
10582
  # Metadata returned to client when grounding is enabled.
10319
10583
  class GoogleCloudAiplatformV1GroundingMetadata
10320
10584
  include Google::Apis::Core::Hashable
10321
10585
 
10586
+ # List of supporting references retrieved from specified grounding source.
10587
+ # Corresponds to the JSON property `groundingChunks`
10588
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunk>]
10589
+ attr_accessor :grounding_chunks
10590
+
10591
+ # Optional. List of grounding support.
10592
+ # Corresponds to the JSON property `groundingSupports`
10593
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingSupport>]
10594
+ attr_accessor :grounding_supports
10595
+
10322
10596
  # Google search entry point.
10323
10597
  # Corresponds to the JSON property `searchEntryPoint`
10324
10598
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint]
@@ -10335,11 +10609,48 @@ module Google
10335
10609
 
10336
10610
  # Update properties of this object
10337
10611
  def update!(**args)
10612
+ @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
10613
+ @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
10338
10614
  @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
10339
10615
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
10340
10616
  end
10341
10617
  end
10342
10618
 
10619
+ # Grounding support.
10620
+ class GoogleCloudAiplatformV1GroundingSupport
10621
+ include Google::Apis::Core::Hashable
10622
+
10623
+ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most
10624
+ # confident. This list must have the same size as the grounding_chunk_indices.
10625
+ # Corresponds to the JSON property `confidenceScores`
10626
+ # @return [Array<Float>]
10627
+ attr_accessor :confidence_scores
10628
+
10629
+ # A list of indices (into 'grounding_chunk') specifying the citations associated
10630
+ # with the claim. For instance [1,3,4] means that grounding_chunk[1],
10631
+ # grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to
10632
+ # the claim.
10633
+ # Corresponds to the JSON property `groundingChunkIndices`
10634
+ # @return [Array<Fixnum>]
10635
+ attr_accessor :grounding_chunk_indices
10636
+
10637
+ # Segment of the content.
10638
+ # Corresponds to the JSON property `segment`
10639
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment]
10640
+ attr_accessor :segment
10641
+
10642
+ def initialize(**args)
10643
+ update!(**args)
10644
+ end
10645
+
10646
+ # Update properties of this object
10647
+ def update!(**args)
10648
+ @confidence_scores = args[:confidence_scores] if args.key?(:confidence_scores)
10649
+ @grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
10650
+ @segment = args[:segment] if args.key?(:segment)
10651
+ end
10652
+ end
10653
+
10343
10654
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
10344
10655
  # specification and multiple CustomJobs with identical CustomJob specification.
10345
10656
  class GoogleCloudAiplatformV1HyperparameterTuningJob
@@ -12375,6 +12686,32 @@ module Google
12375
12686
  end
12376
12687
  end
12377
12688
 
12689
+ # Response message for [NotebookService.CreateNotebookExecutionJob]
12690
+ class GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse
12691
+ include Google::Apis::Core::Hashable
12692
+
12693
+ # A token to retrieve next page of results. Pass to ListNotebookExecutionJobs.
12694
+ # page_token to obtain that page.
12695
+ # Corresponds to the JSON property `nextPageToken`
12696
+ # @return [String]
12697
+ attr_accessor :next_page_token
12698
+
12699
+ # List of NotebookExecutionJobs in the requested page.
12700
+ # Corresponds to the JSON property `notebookExecutionJobs`
12701
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob>]
12702
+ attr_accessor :notebook_execution_jobs
12703
+
12704
+ def initialize(**args)
12705
+ update!(**args)
12706
+ end
12707
+
12708
+ # Update properties of this object
12709
+ def update!(**args)
12710
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
12711
+ @notebook_execution_jobs = args[:notebook_execution_jobs] if args.key?(:notebook_execution_jobs)
12712
+ end
12713
+ end
12714
+
12378
12715
  # Response message for NotebookService.ListNotebookRuntimeTemplates.
12379
12716
  class GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse
12380
12717
  include Google::Apis::Core::Hashable
@@ -13666,6 +14003,18 @@ module Google
13666
14003
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictSchemata]
13667
14004
  attr_accessor :predict_schemata
13668
14005
 
14006
+ # Output only. Reserved for future use.
14007
+ # Corresponds to the JSON property `satisfiesPzi`
14008
+ # @return [Boolean]
14009
+ attr_accessor :satisfies_pzi
14010
+ alias_method :satisfies_pzi?, :satisfies_pzi
14011
+
14012
+ # Output only. Reserved for future use.
14013
+ # Corresponds to the JSON property `satisfiesPzs`
14014
+ # @return [Boolean]
14015
+ attr_accessor :satisfies_pzs
14016
+ alias_method :satisfies_pzs?, :satisfies_pzs
14017
+
13669
14018
  # Output only. When this Model is deployed, its prediction resources are
13670
14019
  # described by the `prediction_resources` field of the Endpoint.deployed_models
13671
14020
  # object. Because not all Models support all resource configuration types, the
@@ -13792,6 +14141,8 @@ module Google
13792
14141
  @original_model_info = args[:original_model_info] if args.key?(:original_model_info)
13793
14142
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
13794
14143
  @predict_schemata = args[:predict_schemata] if args.key?(:predict_schemata)
14144
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
14145
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13795
14146
  @supported_deployment_resources_types = args[:supported_deployment_resources_types] if args.key?(:supported_deployment_resources_types)
13796
14147
  @supported_export_formats = args[:supported_export_formats] if args.key?(:supported_export_formats)
13797
14148
  @supported_input_storage_formats = args[:supported_input_storage_formats] if args.key?(:supported_input_storage_formats)
@@ -15785,6 +16136,11 @@ module Google
15785
16136
  # @return [Fixnum]
15786
16137
  attr_accessor :neighbor_count
15787
16138
 
16139
+ # Optional. The list of numeric filters.
16140
+ # Corresponds to the JSON property `numericFilters`
16141
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter>]
16142
+ attr_accessor :numeric_filters
16143
+
15788
16144
  # Parameters that can be overrided in each query to tune query latency and
15789
16145
  # recall.
15790
16146
  # Corresponds to the JSON property `parameters`
@@ -15813,6 +16169,7 @@ module Google
15813
16169
  @embedding = args[:embedding] if args.key?(:embedding)
15814
16170
  @entity_id = args[:entity_id] if args.key?(:entity_id)
15815
16171
  @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
16172
+ @numeric_filters = args[:numeric_filters] if args.key?(:numeric_filters)
15816
16173
  @parameters = args[:parameters] if args.key?(:parameters)
15817
16174
  @per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
15818
16175
  @string_filters = args[:string_filters] if args.key?(:string_filters)
@@ -15838,6 +16195,56 @@ module Google
15838
16195
  end
15839
16196
  end
15840
16197
 
16198
+ # Numeric filter is used to search a subset of the entities by using boolean
16199
+ # rules on numeric columns. For example: Database Point 0: `name: “a” value_int:
16200
+ # 42` `name: “b” value_float: 1.0` Database Point 1: `name: “a” value_int: 10` `
16201
+ # name: “b” value_float: 2.0` Database Point 2: `name: “a” value_int: -1` `name:
16202
+ # “b” value_float: 3.0` Query: `name: “a” value_int: 12 operator: LESS` //
16203
+ # Matches Point 1, 2 `name: “b” value_float: 2.0 operator: EQUAL` // Matches
16204
+ # Point 1
16205
+ class GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter
16206
+ include Google::Apis::Core::Hashable
16207
+
16208
+ # Required. Column name in BigQuery that used as filters.
16209
+ # Corresponds to the JSON property `name`
16210
+ # @return [String]
16211
+ attr_accessor :name
16212
+
16213
+ # Optional. This MUST be specified for queries and must NOT be specified for
16214
+ # database points.
16215
+ # Corresponds to the JSON property `op`
16216
+ # @return [String]
16217
+ attr_accessor :op
16218
+
16219
+ # double value type.
16220
+ # Corresponds to the JSON property `valueDouble`
16221
+ # @return [Float]
16222
+ attr_accessor :value_double
16223
+
16224
+ # float value type.
16225
+ # Corresponds to the JSON property `valueFloat`
16226
+ # @return [Float]
16227
+ attr_accessor :value_float
16228
+
16229
+ # int value type.
16230
+ # Corresponds to the JSON property `valueInt`
16231
+ # @return [Fixnum]
16232
+ attr_accessor :value_int
16233
+
16234
+ def initialize(**args)
16235
+ update!(**args)
16236
+ end
16237
+
16238
+ # Update properties of this object
16239
+ def update!(**args)
16240
+ @name = args[:name] if args.key?(:name)
16241
+ @op = args[:op] if args.key?(:op)
16242
+ @value_double = args[:value_double] if args.key?(:value_double)
16243
+ @value_float = args[:value_float] if args.key?(:value_float)
16244
+ @value_int = args[:value_int] if args.key?(:value_int)
16245
+ end
16246
+ end
16247
+
15841
16248
  # Parameters that can be overrided in each query to tune query latency and
15842
16249
  # recall.
15843
16250
  class GoogleCloudAiplatformV1NearestNeighborQueryParameters
@@ -16206,6 +16613,204 @@ module Google
16206
16613
  end
16207
16614
  end
16208
16615
 
16616
+ # NotebookExecutionJob represents an instance of a notebook execution.
16617
+ class GoogleCloudAiplatformV1NotebookExecutionJob
16618
+ include Google::Apis::Core::Hashable
16619
+
16620
+ # Output only. Timestamp when this NotebookExecutionJob was created.
16621
+ # Corresponds to the JSON property `createTime`
16622
+ # @return [String]
16623
+ attr_accessor :create_time
16624
+
16625
+ # The Dataform Repository containing the input notebook.
16626
+ # Corresponds to the JSON property `dataformRepositorySource`
16627
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource]
16628
+ attr_accessor :dataform_repository_source
16629
+
16630
+ # The content of the input notebook in ipynb format.
16631
+ # Corresponds to the JSON property `directNotebookSource`
16632
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource]
16633
+ attr_accessor :direct_notebook_source
16634
+
16635
+ # The display name of the NotebookExecutionJob. The name can be up to 128
16636
+ # characters long and can consist of any UTF-8 characters.
16637
+ # Corresponds to the JSON property `displayName`
16638
+ # @return [String]
16639
+ attr_accessor :display_name
16640
+
16641
+ # Max running time of the execution job in seconds (default 86400s / 24 hrs).
16642
+ # Corresponds to the JSON property `executionTimeout`
16643
+ # @return [String]
16644
+ attr_accessor :execution_timeout
16645
+
16646
+ # The user email to run the execution as. Only supported by Colab runtimes.
16647
+ # Corresponds to the JSON property `executionUser`
16648
+ # @return [String]
16649
+ attr_accessor :execution_user
16650
+
16651
+ # The Cloud Storage uri for the input notebook.
16652
+ # Corresponds to the JSON property `gcsNotebookSource`
16653
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource]
16654
+ attr_accessor :gcs_notebook_source
16655
+
16656
+ # The Cloud Storage location to upload the result to. Format: `gs://bucket-name`
16657
+ # Corresponds to the JSON property `gcsOutputUri`
16658
+ # @return [String]
16659
+ attr_accessor :gcs_output_uri
16660
+
16661
+ # Output only. The state of the NotebookExecutionJob.
16662
+ # Corresponds to the JSON property `jobState`
16663
+ # @return [String]
16664
+ attr_accessor :job_state
16665
+
16666
+ # The labels with user-defined metadata to organize NotebookExecutionJobs. Label
16667
+ # keys and values can be no longer than 64 characters (Unicode codepoints), can
16668
+ # only contain lowercase letters, numeric characters, underscores and dashes.
16669
+ # International characters are allowed. See https://goo.gl/xmQnxf for more
16670
+ # information and examples of labels. System reserved label keys are prefixed
16671
+ # with "aiplatform.googleapis.com/" and are immutable.
16672
+ # Corresponds to the JSON property `labels`
16673
+ # @return [Hash<String,String>]
16674
+ attr_accessor :labels
16675
+
16676
+ # Output only. The resource name of this NotebookExecutionJob. Format: `projects/
16677
+ # `project_id`/locations/`location`/notebookExecutionJobs/`job_id``
16678
+ # Corresponds to the JSON property `name`
16679
+ # @return [String]
16680
+ attr_accessor :name
16681
+
16682
+ # The NotebookRuntimeTemplate to source compute configuration from.
16683
+ # Corresponds to the JSON property `notebookRuntimeTemplateResourceName`
16684
+ # @return [String]
16685
+ attr_accessor :notebook_runtime_template_resource_name
16686
+
16687
+ # Output only. The Schedule resource name if this job is triggered by one.
16688
+ # Format: `projects/`project_id`/locations/`location`/schedules/`schedule_id``
16689
+ # Corresponds to the JSON property `scheduleResourceName`
16690
+ # @return [String]
16691
+ attr_accessor :schedule_resource_name
16692
+
16693
+ # The service account to run the execution as.
16694
+ # Corresponds to the JSON property `serviceAccount`
16695
+ # @return [String]
16696
+ attr_accessor :service_account
16697
+
16698
+ # The `Status` type defines a logical error model that is suitable for different
16699
+ # programming environments, including REST APIs and RPC APIs. It is used by [
16700
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
16701
+ # data: error code, error message, and error details. You can find out more
16702
+ # about this error model and how to work with it in the [API Design Guide](https:
16703
+ # //cloud.google.com/apis/design/errors).
16704
+ # Corresponds to the JSON property `status`
16705
+ # @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
16706
+ attr_accessor :status
16707
+
16708
+ # Output only. Timestamp when this NotebookExecutionJob was most recently
16709
+ # updated.
16710
+ # Corresponds to the JSON property `updateTime`
16711
+ # @return [String]
16712
+ attr_accessor :update_time
16713
+
16714
+ def initialize(**args)
16715
+ update!(**args)
16716
+ end
16717
+
16718
+ # Update properties of this object
16719
+ def update!(**args)
16720
+ @create_time = args[:create_time] if args.key?(:create_time)
16721
+ @dataform_repository_source = args[:dataform_repository_source] if args.key?(:dataform_repository_source)
16722
+ @direct_notebook_source = args[:direct_notebook_source] if args.key?(:direct_notebook_source)
16723
+ @display_name = args[:display_name] if args.key?(:display_name)
16724
+ @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
16725
+ @execution_user = args[:execution_user] if args.key?(:execution_user)
16726
+ @gcs_notebook_source = args[:gcs_notebook_source] if args.key?(:gcs_notebook_source)
16727
+ @gcs_output_uri = args[:gcs_output_uri] if args.key?(:gcs_output_uri)
16728
+ @job_state = args[:job_state] if args.key?(:job_state)
16729
+ @labels = args[:labels] if args.key?(:labels)
16730
+ @name = args[:name] if args.key?(:name)
16731
+ @notebook_runtime_template_resource_name = args[:notebook_runtime_template_resource_name] if args.key?(:notebook_runtime_template_resource_name)
16732
+ @schedule_resource_name = args[:schedule_resource_name] if args.key?(:schedule_resource_name)
16733
+ @service_account = args[:service_account] if args.key?(:service_account)
16734
+ @status = args[:status] if args.key?(:status)
16735
+ @update_time = args[:update_time] if args.key?(:update_time)
16736
+ end
16737
+ end
16738
+
16739
+ # The Dataform Repository containing the input notebook.
16740
+ class GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource
16741
+ include Google::Apis::Core::Hashable
16742
+
16743
+ # The commit SHA to read repository with. If unset, the file will be read at
16744
+ # HEAD.
16745
+ # Corresponds to the JSON property `commitSha`
16746
+ # @return [String]
16747
+ attr_accessor :commit_sha
16748
+
16749
+ # The resource name of the Dataform Repository. Format: `projects/`project_id`/
16750
+ # locations/`location`/repositories/`repository_id``
16751
+ # Corresponds to the JSON property `dataformRepositoryResourceName`
16752
+ # @return [String]
16753
+ attr_accessor :dataform_repository_resource_name
16754
+
16755
+ def initialize(**args)
16756
+ update!(**args)
16757
+ end
16758
+
16759
+ # Update properties of this object
16760
+ def update!(**args)
16761
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
16762
+ @dataform_repository_resource_name = args[:dataform_repository_resource_name] if args.key?(:dataform_repository_resource_name)
16763
+ end
16764
+ end
16765
+
16766
+ # The content of the input notebook in ipynb format.
16767
+ class GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource
16768
+ include Google::Apis::Core::Hashable
16769
+
16770
+ # The base64-encoded contents of the input notebook file.
16771
+ # Corresponds to the JSON property `content`
16772
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
16773
+ # @return [String]
16774
+ attr_accessor :content
16775
+
16776
+ def initialize(**args)
16777
+ update!(**args)
16778
+ end
16779
+
16780
+ # Update properties of this object
16781
+ def update!(**args)
16782
+ @content = args[:content] if args.key?(:content)
16783
+ end
16784
+ end
16785
+
16786
+ # The Cloud Storage uri for the input notebook.
16787
+ class GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
16788
+ include Google::Apis::Core::Hashable
16789
+
16790
+ # The version of the Cloud Storage object to read. If unset, the current version
16791
+ # of the object is read. See https://cloud.google.com/storage/docs/metadata#
16792
+ # generation-number.
16793
+ # Corresponds to the JSON property `generation`
16794
+ # @return [String]
16795
+ attr_accessor :generation
16796
+
16797
+ # The Cloud Storage uri pointing to the ipynb file. Format: `gs://bucket/
16798
+ # notebook_file.ipynb`
16799
+ # Corresponds to the JSON property `uri`
16800
+ # @return [String]
16801
+ attr_accessor :uri
16802
+
16803
+ def initialize(**args)
16804
+ update!(**args)
16805
+ end
16806
+
16807
+ # Update properties of this object
16808
+ def update!(**args)
16809
+ @generation = args[:generation] if args.key?(:generation)
16810
+ @uri = args[:uri] if args.key?(:uri)
16811
+ end
16812
+ end
16813
+
16209
16814
  # The idle shutdown configuration of NotebookRuntimeTemplate, which contains the
16210
16815
  # idle_timeout as required field.
16211
16816
  class GoogleCloudAiplatformV1NotebookIdleShutdownConfig
@@ -18214,6 +18819,11 @@ module Google
18214
18819
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
18215
18820
  attr_accessor :dedicated_resources
18216
18821
 
18822
+ # Metadata information about the deployment for managing deployment config.
18823
+ # Corresponds to the JSON property `deployMetadata`
18824
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata]
18825
+ attr_accessor :deploy_metadata
18826
+
18217
18827
  # Optional. The name of the deploy task (e.g., "text to image generation").
18218
18828
  # Corresponds to the JSON property `deployTaskName`
18219
18829
  # @return [String]
@@ -18256,6 +18866,7 @@ module Google
18256
18866
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
18257
18867
  @container_spec = args[:container_spec] if args.key?(:container_spec)
18258
18868
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
18869
+ @deploy_metadata = args[:deploy_metadata] if args.key?(:deploy_metadata)
18259
18870
  @deploy_task_name = args[:deploy_task_name] if args.key?(:deploy_task_name)
18260
18871
  @large_model_reference = args[:large_model_reference] if args.key?(:large_model_reference)
18261
18872
  @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
@@ -18265,6 +18876,32 @@ module Google
18265
18876
  end
18266
18877
  end
18267
18878
 
18879
+ # Metadata information about the deployment for managing deployment config.
18880
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
18881
+ include Google::Apis::Core::Hashable
18882
+
18883
+ # Optional. Labels for the deployment. For managing deployment config like
18884
+ # verifying, source of deployment config, etc.
18885
+ # Corresponds to the JSON property `labels`
18886
+ # @return [Hash<String,String>]
18887
+ attr_accessor :labels
18888
+
18889
+ # Optional. Sample request for deployed endpoint.
18890
+ # Corresponds to the JSON property `sampleRequest`
18891
+ # @return [String]
18892
+ attr_accessor :sample_request
18893
+
18894
+ def initialize(**args)
18895
+ update!(**args)
18896
+ end
18897
+
18898
+ # Update properties of this object
18899
+ def update!(**args)
18900
+ @labels = args[:labels] if args.key?(:labels)
18901
+ @sample_request = args[:sample_request] if args.key?(:sample_request)
18902
+ end
18903
+ end
18904
+
18268
18905
  # Configurations for PublisherModel GKE deployment
18269
18906
  class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
18270
18907
  include Google::Apis::Core::Hashable
@@ -19289,6 +19926,26 @@ module Google
19289
19926
  end
19290
19927
  end
19291
19928
 
19929
+ # Configuration for the Ray OSS Logs.
19930
+ class GoogleCloudAiplatformV1RayLogsSpec
19931
+ include Google::Apis::Core::Hashable
19932
+
19933
+ # Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.
19934
+ # Corresponds to the JSON property `disabled`
19935
+ # @return [Boolean]
19936
+ attr_accessor :disabled
19937
+ alias_method :disabled?, :disabled
19938
+
19939
+ def initialize(**args)
19940
+ update!(**args)
19941
+ end
19942
+
19943
+ # Update properties of this object
19944
+ def update!(**args)
19945
+ @disabled = args[:disabled] if args.key?(:disabled)
19946
+ end
19947
+ end
19948
+
19292
19949
  # Configuration for the Ray metrics.
19293
19950
  class GoogleCloudAiplatformV1RayMetricSpec
19294
19951
  include Google::Apis::Core::Hashable
@@ -19332,6 +19989,11 @@ module Google
19332
19989
  # @return [String]
19333
19990
  attr_accessor :image_uri
19334
19991
 
19992
+ # Configuration for the Ray OSS Logs.
19993
+ # Corresponds to the JSON property `rayLogsSpec`
19994
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayLogsSpec]
19995
+ attr_accessor :ray_logs_spec
19996
+
19335
19997
  # Configuration for the Ray metrics.
19336
19998
  # Corresponds to the JSON property `rayMetricSpec`
19337
19999
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec]
@@ -19354,6 +20016,7 @@ module Google
19354
20016
  def update!(**args)
19355
20017
  @head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
19356
20018
  @image_uri = args[:image_uri] if args.key?(:image_uri)
20019
+ @ray_logs_spec = args[:ray_logs_spec] if args.key?(:ray_logs_spec)
19357
20020
  @ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
19358
20021
  @resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
19359
20022
  end
@@ -19843,7 +20506,12 @@ module Google
19843
20506
  attr_accessor :max_replica_count
19844
20507
 
19845
20508
  # Optional. min replicas in the node pool, must be ≤ replica_count and <
19846
- # max_replica_count or will throw error
20509
+ # max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex,
20510
+ # we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray
20511
+ # behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-
20512
+ # autoscaling.html#cluster-config-parameters). As for Persistent Resource, the
20513
+ # min_replica_count must be > 0, we added a corresponding validation inside
20514
+ # CreatePersistentResourceRequestValidator.java.
19847
20515
  # Corresponds to the JSON property `minReplicaCount`
19848
20516
  # @return [Fixnum]
19849
20517
  attr_accessor :min_replica_count
@@ -19989,9 +20657,7 @@ module Google
19989
20657
  class GoogleCloudAiplatformV1Retrieval
19990
20658
  include Google::Apis::Core::Hashable
19991
20659
 
19992
- # Optional. Disable using the result from this tool in detecting grounding
19993
- # attribution. This does not affect how the result is given to the model for
19994
- # generation.
20660
+ # Optional. Deprecated. This option is no longer supported.
19995
20661
  # Corresponds to the JSON property `disableAttribution`
19996
20662
  # @return [Boolean]
19997
20663
  attr_accessor :disable_attribution
@@ -20701,6 +21367,11 @@ module Google
20701
21367
  attr_accessor :restart_job_on_worker_restart
20702
21368
  alias_method :restart_job_on_worker_restart?, :restart_job_on_worker_restart
20703
21369
 
21370
+ # Optional. This determines which type of scheduling strategy to use.
21371
+ # Corresponds to the JSON property `strategy`
21372
+ # @return [String]
21373
+ attr_accessor :strategy
21374
+
20704
21375
  # The maximum job running time. The default is 7 days.
20705
21376
  # Corresponds to the JSON property `timeout`
20706
21377
  # @return [String]
@@ -20714,6 +21385,7 @@ module Google
20714
21385
  def update!(**args)
20715
21386
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
20716
21387
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
21388
+ @strategy = args[:strategy] if args.key?(:strategy)
20717
21389
  @timeout = args[:timeout] if args.key?(:timeout)
20718
21390
  end
20719
21391
  end
@@ -27318,6 +27990,45 @@ module Google
27318
27990
  end
27319
27991
  end
27320
27992
 
27993
+ # Segment of the content.
27994
+ class GoogleCloudAiplatformV1Segment
27995
+ include Google::Apis::Core::Hashable
27996
+
27997
+ # Output only. End index in the given Part, measured in bytes. Offset from the
27998
+ # start of the Part, exclusive, starting at zero.
27999
+ # Corresponds to the JSON property `endIndex`
28000
+ # @return [Fixnum]
28001
+ attr_accessor :end_index
28002
+
28003
+ # Output only. The index of a Part object within its parent Content object.
28004
+ # Corresponds to the JSON property `partIndex`
28005
+ # @return [Fixnum]
28006
+ attr_accessor :part_index
28007
+
28008
+ # Output only. Start index in the given Part, measured in bytes. Offset from the
28009
+ # start of the Part, inclusive, starting at zero.
28010
+ # Corresponds to the JSON property `startIndex`
28011
+ # @return [Fixnum]
28012
+ attr_accessor :start_index
28013
+
28014
+ # Output only. The text corresponding to the segment from the response.
28015
+ # Corresponds to the JSON property `text`
28016
+ # @return [String]
28017
+ attr_accessor :text
28018
+
28019
+ def initialize(**args)
28020
+ update!(**args)
28021
+ end
28022
+
28023
+ # Update properties of this object
28024
+ def update!(**args)
28025
+ @end_index = args[:end_index] if args.key?(:end_index)
28026
+ @part_index = args[:part_index] if args.key?(:part_index)
28027
+ @start_index = args[:start_index] if args.key?(:start_index)
28028
+ @text = args[:text] if args.key?(:text)
28029
+ end
28030
+ end
28031
+
27321
28032
  # Configuration for the use of custom service account to run the workloads.
27322
28033
  class GoogleCloudAiplatformV1ServiceAccountSpec
27323
28034
  include Google::Apis::Core::Hashable
@@ -28987,6 +29698,11 @@ module Google
28987
29698
  # @return [Fixnum]
28988
29699
  attr_accessor :total_billable_character_count
28989
29700
 
29701
+ # Output only. Number of billable tokens in the tuning dataset.
29702
+ # Corresponds to the JSON property `totalBillableTokenCount`
29703
+ # @return [Fixnum]
29704
+ attr_accessor :total_billable_token_count
29705
+
28990
29706
  # Output only. Number of tuning characters in the tuning dataset.
28991
29707
  # Corresponds to the JSON property `totalTuningCharacterCount`
28992
29708
  # @return [Fixnum]
@@ -29029,6 +29745,7 @@ module Google
29029
29745
  # Update properties of this object
29030
29746
  def update!(**args)
29031
29747
  @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
29748
+ @total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
29032
29749
  @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
29033
29750
  @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
29034
29751
  @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
@@ -29043,6 +29760,11 @@ module Google
29043
29760
  class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
29044
29761
  include Google::Apis::Core::Hashable
29045
29762
 
29763
+ # Output only. Sum of a given population of values that are billable.
29764
+ # Corresponds to the JSON property `billableSum`
29765
+ # @return [Fixnum]
29766
+ attr_accessor :billable_sum
29767
+
29046
29768
  # Output only. Defines the histogram bucket.
29047
29769
  # Corresponds to the JSON property `buckets`
29048
29770
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket>]
@@ -29089,6 +29811,7 @@ module Google
29089
29811
 
29090
29812
  # Update properties of this object
29091
29813
  def update!(**args)
29814
+ @billable_sum = args[:billable_sum] if args.key?(:billable_sum)
29092
29815
  @buckets = args[:buckets] if args.key?(:buckets)
29093
29816
  @max = args[:max] if args.key?(:max)
29094
29817
  @mean = args[:mean] if args.key?(:mean)
@@ -29389,6 +30112,18 @@ module Google
29389
30112
  # @return [Fixnum]
29390
30113
  attr_accessor :run_count
29391
30114
 
30115
+ # Output only. Reserved for future use.
30116
+ # Corresponds to the JSON property `satisfiesPzi`
30117
+ # @return [Boolean]
30118
+ attr_accessor :satisfies_pzi
30119
+ alias_method :satisfies_pzi?, :satisfies_pzi
30120
+
30121
+ # Output only. Reserved for future use.
30122
+ # Corresponds to the JSON property `satisfiesPzs`
30123
+ # @return [Boolean]
30124
+ attr_accessor :satisfies_pzs
30125
+ alias_method :satisfies_pzs?, :satisfies_pzs
30126
+
29392
30127
  # Output only. Timestamp when this Tensorboard was last updated.
29393
30128
  # Corresponds to the JSON property `updateTime`
29394
30129
  # @return [String]
@@ -29410,6 +30145,8 @@ module Google
29410
30145
  @labels = args[:labels] if args.key?(:labels)
29411
30146
  @name = args[:name] if args.key?(:name)
29412
30147
  @run_count = args[:run_count] if args.key?(:run_count)
30148
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
30149
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
29413
30150
  @update_time = args[:update_time] if args.key?(:update_time)
29414
30151
  end
29415
30152
  end
@@ -29893,6 +30630,11 @@ module Google
29893
30630
  class GoogleCloudAiplatformV1TokensInfo
29894
30631
  include Google::Apis::Core::Hashable
29895
30632
 
30633
+ # Optional. Optional fields for the role from the corresponding Content.
30634
+ # Corresponds to the JSON property `role`
30635
+ # @return [String]
30636
+ attr_accessor :role
30637
+
29896
30638
  # A list of token ids from the input.
29897
30639
  # Corresponds to the JSON property `tokenIds`
29898
30640
  # @return [Array<Fixnum>]
@@ -29909,6 +30651,7 @@ module Google
29909
30651
 
29910
30652
  # Update properties of this object
29911
30653
  def update!(**args)
30654
+ @role = args[:role] if args.key?(:role)
29912
30655
  @token_ids = args[:token_ids] if args.key?(:token_ids)
29913
30656
  @tokens = args[:tokens] if args.key?(:tokens)
29914
30657
  end
@@ -30659,7 +31402,7 @@ module Google
30659
31402
  end
30660
31403
  end
30661
31404
 
30662
- # Next ID: 3
31405
+ #
30663
31406
  class GoogleCloudAiplatformV1TrialContext
30664
31407
  include Google::Apis::Core::Hashable
30665
31408
 
@@ -32556,102 +33299,6 @@ module Google
32556
33299
  @units = args[:units] if args.key?(:units)
32557
33300
  end
32558
33301
  end
32559
-
32560
- #
32561
- class IntelligenceCloudAutomlXpsMetricEntry
32562
- include Google::Apis::Core::Hashable
32563
-
32564
- # For billing metrics that are using legacy sku's, set the legacy billing metric
32565
- # id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/
32566
- # argentum_metric_id" label. Otherwise leave empty.
32567
- # Corresponds to the JSON property `argentumMetricId`
32568
- # @return [String]
32569
- attr_accessor :argentum_metric_id
32570
-
32571
- # A double value.
32572
- # Corresponds to the JSON property `doubleValue`
32573
- # @return [Float]
32574
- attr_accessor :double_value
32575
-
32576
- # A signed 64-bit integer value.
32577
- # Corresponds to the JSON property `int64Value`
32578
- # @return [Fixnum]
32579
- attr_accessor :int64_value
32580
-
32581
- # The metric name defined in the service configuration.
32582
- # Corresponds to the JSON property `metricName`
32583
- # @return [String]
32584
- attr_accessor :metric_name
32585
-
32586
- # Billing system labels for this (metric, value) pair.
32587
- # Corresponds to the JSON property `systemLabels`
32588
- # @return [Array<Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntryLabel>]
32589
- attr_accessor :system_labels
32590
-
32591
- def initialize(**args)
32592
- update!(**args)
32593
- end
32594
-
32595
- # Update properties of this object
32596
- def update!(**args)
32597
- @argentum_metric_id = args[:argentum_metric_id] if args.key?(:argentum_metric_id)
32598
- @double_value = args[:double_value] if args.key?(:double_value)
32599
- @int64_value = args[:int64_value] if args.key?(:int64_value)
32600
- @metric_name = args[:metric_name] if args.key?(:metric_name)
32601
- @system_labels = args[:system_labels] if args.key?(:system_labels)
32602
- end
32603
- end
32604
-
32605
- #
32606
- class IntelligenceCloudAutomlXpsMetricEntryLabel
32607
- include Google::Apis::Core::Hashable
32608
-
32609
- # The name of the label.
32610
- # Corresponds to the JSON property `labelName`
32611
- # @return [String]
32612
- attr_accessor :label_name
32613
-
32614
- # The value of the label.
32615
- # Corresponds to the JSON property `labelValue`
32616
- # @return [String]
32617
- attr_accessor :label_value
32618
-
32619
- def initialize(**args)
32620
- update!(**args)
32621
- end
32622
-
32623
- # Update properties of this object
32624
- def update!(**args)
32625
- @label_name = args[:label_name] if args.key?(:label_name)
32626
- @label_value = args[:label_value] if args.key?(:label_value)
32627
- end
32628
- end
32629
-
32630
- #
32631
- class IntelligenceCloudAutomlXpsReportingMetrics
32632
- include Google::Apis::Core::Hashable
32633
-
32634
- # The effective time training used. If set, this is used for quota management
32635
- # and billing. Deprecated. AutoML BE doesn't use this. Don't set.
32636
- # Corresponds to the JSON property `effectiveTrainingDuration`
32637
- # @return [String]
32638
- attr_accessor :effective_training_duration
32639
-
32640
- # One entry per metric name. The values must be aggregated per metric name.
32641
- # Corresponds to the JSON property `metricEntries`
32642
- # @return [Array<Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntry>]
32643
- attr_accessor :metric_entries
32644
-
32645
- def initialize(**args)
32646
- update!(**args)
32647
- end
32648
-
32649
- # Update properties of this object
32650
- def update!(**args)
32651
- @effective_training_duration = args[:effective_training_duration] if args.key?(:effective_training_duration)
32652
- @metric_entries = args[:metric_entries] if args.key?(:metric_entries)
32653
- end
32654
- end
32655
33302
  end
32656
33303
  end
32657
33304
  end