google-apis-aiplatform_v1 0.28.0 → 0.29.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
 
@@ -2227,12 +2221,19 @@ module Google
2227
2221
  class GoogleCloudAiplatformV1BleuSpec
2228
2222
  include Google::Apis::Core::Hashable
2229
2223
 
2224
+ # Optional. Whether to use_effective_order to compute bleu score.
2225
+ # Corresponds to the JSON property `useEffectiveOrder`
2226
+ # @return [Boolean]
2227
+ attr_accessor :use_effective_order
2228
+ alias_method :use_effective_order?, :use_effective_order
2229
+
2230
2230
  def initialize(**args)
2231
2231
  update!(**args)
2232
2232
  end
2233
2233
 
2234
2234
  # Update properties of this object
2235
2235
  def update!(**args)
2236
+ @use_effective_order = args[:use_effective_order] if args.key?(:use_effective_order)
2236
2237
  end
2237
2238
  end
2238
2239
 
@@ -2454,6 +2455,11 @@ module Google
2454
2455
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating>]
2455
2456
  attr_accessor :safety_ratings
2456
2457
 
2458
+ # Output only. Confidence score of the candidate.
2459
+ # Corresponds to the JSON property `score`
2460
+ # @return [Float]
2461
+ attr_accessor :score
2462
+
2457
2463
  def initialize(**args)
2458
2464
  update!(**args)
2459
2465
  end
@@ -2467,6 +2473,7 @@ module Google
2467
2473
  @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
2468
2474
  @index = args[:index] if args.key?(:index)
2469
2475
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
2476
+ @score = args[:score] if args.key?(:score)
2470
2477
  end
2471
2478
  end
2472
2479
 
@@ -2787,20 +2794,33 @@ module Google
2787
2794
  class GoogleCloudAiplatformV1ComputeTokensRequest
2788
2795
  include Google::Apis::Core::Hashable
2789
2796
 
2790
- # Required. The instances that are the input to token computing API call. Schema
2797
+ # Optional. Input content.
2798
+ # Corresponds to the JSON property `contents`
2799
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
2800
+ attr_accessor :contents
2801
+
2802
+ # Optional. The instances that are the input to token computing API call. Schema
2791
2803
  # is identical to the prediction schema of the text model, even for the non-text
2792
2804
  # models, like chat models, or Codey models.
2793
2805
  # Corresponds to the JSON property `instances`
2794
2806
  # @return [Array<Object>]
2795
2807
  attr_accessor :instances
2796
2808
 
2809
+ # Optional. The name of the publisher model requested to serve the prediction.
2810
+ # Format: projects/`project`/locations/`location`/publishers/*/models/*
2811
+ # Corresponds to the JSON property `model`
2812
+ # @return [String]
2813
+ attr_accessor :model
2814
+
2797
2815
  def initialize(**args)
2798
2816
  update!(**args)
2799
2817
  end
2800
2818
 
2801
2819
  # Update properties of this object
2802
2820
  def update!(**args)
2821
+ @contents = args[:contents] if args.key?(:contents)
2803
2822
  @instances = args[:instances] if args.key?(:instances)
2823
+ @model = args[:model] if args.key?(:model)
2804
2824
  end
2805
2825
  end
2806
2826
 
@@ -3103,23 +3123,39 @@ module Google
3103
3123
  class GoogleCloudAiplatformV1CountTokensRequest
3104
3124
  include Google::Apis::Core::Hashable
3105
3125
 
3106
- # Required. Input content.
3126
+ # Optional. Input content.
3107
3127
  # Corresponds to the JSON property `contents`
3108
3128
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
3109
3129
  attr_accessor :contents
3110
3130
 
3111
- # Required. The instances that are the input to token counting call. Schema is
3131
+ # Optional. The instances that are the input to token counting call. Schema is
3112
3132
  # identical to the prediction schema of the underlying model.
3113
3133
  # Corresponds to the JSON property `instances`
3114
3134
  # @return [Array<Object>]
3115
3135
  attr_accessor :instances
3116
3136
 
3117
- # Required. The name of the publisher model requested to serve the prediction.
3137
+ # Optional. The name of the publisher model requested to serve the prediction.
3118
3138
  # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
3119
3139
  # Corresponds to the JSON property `model`
3120
3140
  # @return [String]
3121
3141
  attr_accessor :model
3122
3142
 
3143
+ # The base structured datatype containing multi-part content of a message. A `
3144
+ # Content` includes a `role` field designating the producer of the `Content` and
3145
+ # a `parts` field containing multi-part data that contains the content of the
3146
+ # message turn.
3147
+ # Corresponds to the JSON property `systemInstruction`
3148
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
3149
+ attr_accessor :system_instruction
3150
+
3151
+ # Optional. A list of `Tools` the model may use to generate the next response. A
3152
+ # `Tool` is a piece of code that enables the system to interact with external
3153
+ # systems to perform an action, or set of actions, outside of knowledge and
3154
+ # scope of the model.
3155
+ # Corresponds to the JSON property `tools`
3156
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>]
3157
+ attr_accessor :tools
3158
+
3123
3159
  def initialize(**args)
3124
3160
  update!(**args)
3125
3161
  end
@@ -3129,6 +3165,8 @@ module Google
3129
3165
  @contents = args[:contents] if args.key?(:contents)
3130
3166
  @instances = args[:instances] if args.key?(:instances)
3131
3167
  @model = args[:model] if args.key?(:model)
3168
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
3169
+ @tools = args[:tools] if args.key?(:tools)
3132
3170
  end
3133
3171
  end
3134
3172
 
@@ -3480,6 +3518,32 @@ module Google
3480
3518
  end
3481
3519
  end
3482
3520
 
3521
+ # Metadata information for NotebookService.CreateNotebookExecutionJob.
3522
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata
3523
+ include Google::Apis::Core::Hashable
3524
+
3525
+ # Generic Metadata shared by all operations.
3526
+ # Corresponds to the JSON property `genericMetadata`
3527
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
3528
+ attr_accessor :generic_metadata
3529
+
3530
+ # A human-readable message that shows the intermediate progress details of
3531
+ # NotebookRuntime.
3532
+ # Corresponds to the JSON property `progressMessage`
3533
+ # @return [String]
3534
+ attr_accessor :progress_message
3535
+
3536
+ def initialize(**args)
3537
+ update!(**args)
3538
+ end
3539
+
3540
+ # Update properties of this object
3541
+ def update!(**args)
3542
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3543
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
3544
+ end
3545
+ end
3546
+
3483
3547
  # Metadata information for NotebookService.CreateNotebookRuntimeTemplate.
3484
3548
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
3485
3549
  include Google::Apis::Core::Hashable
@@ -4303,7 +4367,7 @@ module Google
4303
4367
  # @return [String]
4304
4368
  attr_accessor :model_reference
4305
4369
 
4306
- # Output only. The resource name of the Dataset.
4370
+ # Output only. Identifier. The resource name of the Dataset.
4307
4371
  # Corresponds to the JSON property `name`
4308
4372
  # @return [String]
4309
4373
  attr_accessor :name
@@ -4383,7 +4447,7 @@ module Google
4383
4447
  # @return [String]
4384
4448
  attr_accessor :model_reference
4385
4449
 
4386
- # Output only. The resource name of the DatasetVersion.
4450
+ # Output only. Identifier. The resource name of the DatasetVersion.
4387
4451
  # Corresponds to the JSON property `name`
4388
4452
  # @return [String]
4389
4453
  attr_accessor :name
@@ -5473,6 +5537,24 @@ module Google
5473
5537
  # @return [String]
5474
5538
  attr_accessor :create_time
5475
5539
 
5540
+ # Output only. DNS of the dedicated endpoint. Will only be populated if
5541
+ # dedicated_endpoint_enabled is true. Format: `https://`endpoint_id`.`region`-`
5542
+ # project_number`.prediction.vertexai.goog`.
5543
+ # Corresponds to the JSON property `dedicatedEndpointDns`
5544
+ # @return [String]
5545
+ attr_accessor :dedicated_endpoint_dns
5546
+
5547
+ # If true, the endpoint will be exposed through a dedicated DNS [Endpoint.
5548
+ # dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated
5549
+ # from other users' traffic and will have better performance and reliability.
5550
+ # Note: Once you enabled dedicated endpoint, you won't be able to send request
5551
+ # to the shared DNS `region`-aiplatform.googleapis.com. The limitation will be
5552
+ # removed soon.
5553
+ # Corresponds to the JSON property `dedicatedEndpointEnabled`
5554
+ # @return [Boolean]
5555
+ attr_accessor :dedicated_endpoint_enabled
5556
+ alias_method :dedicated_endpoint_enabled?, :dedicated_endpoint_enabled
5557
+
5476
5558
  # Output only. The models deployed in this Endpoint. To add or remove
5477
5559
  # DeployedModels use EndpointService.DeployModel and EndpointService.
5478
5560
  # UndeployModel respectively.
@@ -5575,6 +5657,8 @@ module Google
5575
5657
  # Update properties of this object
5576
5658
  def update!(**args)
5577
5659
  @create_time = args[:create_time] if args.key?(:create_time)
5660
+ @dedicated_endpoint_dns = args[:dedicated_endpoint_dns] if args.key?(:dedicated_endpoint_dns)
5661
+ @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
5578
5662
  @deployed_models = args[:deployed_models] if args.key?(:deployed_models)
5579
5663
  @description = args[:description] if args.key?(:description)
5580
5664
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -8169,19 +8253,32 @@ module Google
8169
8253
  class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
8170
8254
  include Google::Apis::Core::Hashable
8171
8255
 
8256
+ # Represents configuration for private service connect.
8257
+ # Corresponds to the JSON property `privateServiceConnectConfig`
8258
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
8259
+ attr_accessor :private_service_connect_config
8260
+
8172
8261
  # Output only. This field will be populated with the domain name to use for this
8173
8262
  # FeatureOnlineStore
8174
8263
  # Corresponds to the JSON property `publicEndpointDomainName`
8175
8264
  # @return [String]
8176
8265
  attr_accessor :public_endpoint_domain_name
8177
8266
 
8267
+ # Output only. The name of the service attachment resource. Populated if private
8268
+ # service connect is enabled and after FeatureViewSync is created.
8269
+ # Corresponds to the JSON property `serviceAttachment`
8270
+ # @return [String]
8271
+ attr_accessor :service_attachment
8272
+
8178
8273
  def initialize(**args)
8179
8274
  update!(**args)
8180
8275
  end
8181
8276
 
8182
8277
  # Update properties of this object
8183
8278
  def update!(**args)
8279
+ @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
8184
8280
  @public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
8281
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
8185
8282
  end
8186
8283
  end
8187
8284
 
@@ -10315,10 +10412,95 @@ module Google
10315
10412
  end
10316
10413
  end
10317
10414
 
10415
+ # Grounding chunk.
10416
+ class GoogleCloudAiplatformV1GroundingChunk
10417
+ include Google::Apis::Core::Hashable
10418
+
10419
+ # Chunk from context retrieved by the retrieval tools.
10420
+ # Corresponds to the JSON property `retrievedContext`
10421
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkRetrievedContext]
10422
+ attr_accessor :retrieved_context
10423
+
10424
+ # Chunk from the web.
10425
+ # Corresponds to the JSON property `web`
10426
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkWeb]
10427
+ attr_accessor :web
10428
+
10429
+ def initialize(**args)
10430
+ update!(**args)
10431
+ end
10432
+
10433
+ # Update properties of this object
10434
+ def update!(**args)
10435
+ @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
10436
+ @web = args[:web] if args.key?(:web)
10437
+ end
10438
+ end
10439
+
10440
+ # Chunk from context retrieved by the retrieval tools.
10441
+ class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
10442
+ include Google::Apis::Core::Hashable
10443
+
10444
+ # Title of the attribution.
10445
+ # Corresponds to the JSON property `title`
10446
+ # @return [String]
10447
+ attr_accessor :title
10448
+
10449
+ # URI reference of the attribution.
10450
+ # Corresponds to the JSON property `uri`
10451
+ # @return [String]
10452
+ attr_accessor :uri
10453
+
10454
+ def initialize(**args)
10455
+ update!(**args)
10456
+ end
10457
+
10458
+ # Update properties of this object
10459
+ def update!(**args)
10460
+ @title = args[:title] if args.key?(:title)
10461
+ @uri = args[:uri] if args.key?(:uri)
10462
+ end
10463
+ end
10464
+
10465
+ # Chunk from the web.
10466
+ class GoogleCloudAiplatformV1GroundingChunkWeb
10467
+ include Google::Apis::Core::Hashable
10468
+
10469
+ # Title of the chunk.
10470
+ # Corresponds to the JSON property `title`
10471
+ # @return [String]
10472
+ attr_accessor :title
10473
+
10474
+ # URI reference of the chunk.
10475
+ # Corresponds to the JSON property `uri`
10476
+ # @return [String]
10477
+ attr_accessor :uri
10478
+
10479
+ def initialize(**args)
10480
+ update!(**args)
10481
+ end
10482
+
10483
+ # Update properties of this object
10484
+ def update!(**args)
10485
+ @title = args[:title] if args.key?(:title)
10486
+ @uri = args[:uri] if args.key?(:uri)
10487
+ end
10488
+ end
10489
+
10318
10490
  # Metadata returned to client when grounding is enabled.
10319
10491
  class GoogleCloudAiplatformV1GroundingMetadata
10320
10492
  include Google::Apis::Core::Hashable
10321
10493
 
10494
+ # List of supporting references retrieved from specified grounding source.
10495
+ # Corresponds to the JSON property `groundingChunks`
10496
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunk>]
10497
+ attr_accessor :grounding_chunks
10498
+
10499
+ # Optional. List of grounding support.
10500
+ # Corresponds to the JSON property `groundingSupports`
10501
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingSupport>]
10502
+ attr_accessor :grounding_supports
10503
+
10322
10504
  # Google search entry point.
10323
10505
  # Corresponds to the JSON property `searchEntryPoint`
10324
10506
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint]
@@ -10335,11 +10517,48 @@ module Google
10335
10517
 
10336
10518
  # Update properties of this object
10337
10519
  def update!(**args)
10520
+ @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
10521
+ @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
10338
10522
  @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
10339
10523
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
10340
10524
  end
10341
10525
  end
10342
10526
 
10527
+ # Grounding support.
10528
+ class GoogleCloudAiplatformV1GroundingSupport
10529
+ include Google::Apis::Core::Hashable
10530
+
10531
+ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most
10532
+ # confident. This list must have the same size as the grounding_chunk_indices.
10533
+ # Corresponds to the JSON property `confidenceScores`
10534
+ # @return [Array<Float>]
10535
+ attr_accessor :confidence_scores
10536
+
10537
+ # A list of indices (into 'grounding_chunk') specifying the citations associated
10538
+ # with the claim. For instance [1,3,4] means that grounding_chunk[1],
10539
+ # grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to
10540
+ # the claim.
10541
+ # Corresponds to the JSON property `groundingChunkIndices`
10542
+ # @return [Array<Fixnum>]
10543
+ attr_accessor :grounding_chunk_indices
10544
+
10545
+ # Segment of the content.
10546
+ # Corresponds to the JSON property `segment`
10547
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment]
10548
+ attr_accessor :segment
10549
+
10550
+ def initialize(**args)
10551
+ update!(**args)
10552
+ end
10553
+
10554
+ # Update properties of this object
10555
+ def update!(**args)
10556
+ @confidence_scores = args[:confidence_scores] if args.key?(:confidence_scores)
10557
+ @grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
10558
+ @segment = args[:segment] if args.key?(:segment)
10559
+ end
10560
+ end
10561
+
10343
10562
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
10344
10563
  # specification and multiple CustomJobs with identical CustomJob specification.
10345
10564
  class GoogleCloudAiplatformV1HyperparameterTuningJob
@@ -12375,6 +12594,32 @@ module Google
12375
12594
  end
12376
12595
  end
12377
12596
 
12597
+ # Response message for [NotebookService.CreateNotebookExecutionJob]
12598
+ class GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse
12599
+ include Google::Apis::Core::Hashable
12600
+
12601
+ # A token to retrieve next page of results. Pass to ListNotebookExecutionJobs.
12602
+ # page_token to obtain that page.
12603
+ # Corresponds to the JSON property `nextPageToken`
12604
+ # @return [String]
12605
+ attr_accessor :next_page_token
12606
+
12607
+ # List of NotebookExecutionJobs in the requested page.
12608
+ # Corresponds to the JSON property `notebookExecutionJobs`
12609
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob>]
12610
+ attr_accessor :notebook_execution_jobs
12611
+
12612
+ def initialize(**args)
12613
+ update!(**args)
12614
+ end
12615
+
12616
+ # Update properties of this object
12617
+ def update!(**args)
12618
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
12619
+ @notebook_execution_jobs = args[:notebook_execution_jobs] if args.key?(:notebook_execution_jobs)
12620
+ end
12621
+ end
12622
+
12378
12623
  # Response message for NotebookService.ListNotebookRuntimeTemplates.
12379
12624
  class GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse
12380
12625
  include Google::Apis::Core::Hashable
@@ -13666,6 +13911,18 @@ module Google
13666
13911
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictSchemata]
13667
13912
  attr_accessor :predict_schemata
13668
13913
 
13914
+ # Output only. Reserved for future use.
13915
+ # Corresponds to the JSON property `satisfiesPzi`
13916
+ # @return [Boolean]
13917
+ attr_accessor :satisfies_pzi
13918
+ alias_method :satisfies_pzi?, :satisfies_pzi
13919
+
13920
+ # Output only. Reserved for future use.
13921
+ # Corresponds to the JSON property `satisfiesPzs`
13922
+ # @return [Boolean]
13923
+ attr_accessor :satisfies_pzs
13924
+ alias_method :satisfies_pzs?, :satisfies_pzs
13925
+
13669
13926
  # Output only. When this Model is deployed, its prediction resources are
13670
13927
  # described by the `prediction_resources` field of the Endpoint.deployed_models
13671
13928
  # object. Because not all Models support all resource configuration types, the
@@ -13792,6 +14049,8 @@ module Google
13792
14049
  @original_model_info = args[:original_model_info] if args.key?(:original_model_info)
13793
14050
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
13794
14051
  @predict_schemata = args[:predict_schemata] if args.key?(:predict_schemata)
14052
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
14053
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13795
14054
  @supported_deployment_resources_types = args[:supported_deployment_resources_types] if args.key?(:supported_deployment_resources_types)
13796
14055
  @supported_export_formats = args[:supported_export_formats] if args.key?(:supported_export_formats)
13797
14056
  @supported_input_storage_formats = args[:supported_input_storage_formats] if args.key?(:supported_input_storage_formats)
@@ -15785,6 +16044,11 @@ module Google
15785
16044
  # @return [Fixnum]
15786
16045
  attr_accessor :neighbor_count
15787
16046
 
16047
+ # Optional. The list of numeric filters.
16048
+ # Corresponds to the JSON property `numericFilters`
16049
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter>]
16050
+ attr_accessor :numeric_filters
16051
+
15788
16052
  # Parameters that can be overrided in each query to tune query latency and
15789
16053
  # recall.
15790
16054
  # Corresponds to the JSON property `parameters`
@@ -15813,6 +16077,7 @@ module Google
15813
16077
  @embedding = args[:embedding] if args.key?(:embedding)
15814
16078
  @entity_id = args[:entity_id] if args.key?(:entity_id)
15815
16079
  @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
16080
+ @numeric_filters = args[:numeric_filters] if args.key?(:numeric_filters)
15816
16081
  @parameters = args[:parameters] if args.key?(:parameters)
15817
16082
  @per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
15818
16083
  @string_filters = args[:string_filters] if args.key?(:string_filters)
@@ -15838,6 +16103,56 @@ module Google
15838
16103
  end
15839
16104
  end
15840
16105
 
16106
+ # Numeric filter is used to search a subset of the entities by using boolean
16107
+ # rules on numeric columns. For example: Database Point 0: `name: “a” value_int:
16108
+ # 42` `name: “b” value_float: 1.0` Database Point 1: `name: “a” value_int: 10` `
16109
+ # name: “b” value_float: 2.0` Database Point 2: `name: “a” value_int: -1` `name:
16110
+ # “b” value_float: 3.0` Query: `name: “a” value_int: 12 operator: LESS` //
16111
+ # Matches Point 1, 2 `name: “b” value_float: 2.0 operator: EQUAL` // Matches
16112
+ # Point 1
16113
+ class GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter
16114
+ include Google::Apis::Core::Hashable
16115
+
16116
+ # Required. Column name in BigQuery that used as filters.
16117
+ # Corresponds to the JSON property `name`
16118
+ # @return [String]
16119
+ attr_accessor :name
16120
+
16121
+ # Optional. This MUST be specified for queries and must NOT be specified for
16122
+ # database points.
16123
+ # Corresponds to the JSON property `op`
16124
+ # @return [String]
16125
+ attr_accessor :op
16126
+
16127
+ # double value type.
16128
+ # Corresponds to the JSON property `valueDouble`
16129
+ # @return [Float]
16130
+ attr_accessor :value_double
16131
+
16132
+ # float value type.
16133
+ # Corresponds to the JSON property `valueFloat`
16134
+ # @return [Float]
16135
+ attr_accessor :value_float
16136
+
16137
+ # int value type.
16138
+ # Corresponds to the JSON property `valueInt`
16139
+ # @return [Fixnum]
16140
+ attr_accessor :value_int
16141
+
16142
+ def initialize(**args)
16143
+ update!(**args)
16144
+ end
16145
+
16146
+ # Update properties of this object
16147
+ def update!(**args)
16148
+ @name = args[:name] if args.key?(:name)
16149
+ @op = args[:op] if args.key?(:op)
16150
+ @value_double = args[:value_double] if args.key?(:value_double)
16151
+ @value_float = args[:value_float] if args.key?(:value_float)
16152
+ @value_int = args[:value_int] if args.key?(:value_int)
16153
+ end
16154
+ end
16155
+
15841
16156
  # Parameters that can be overrided in each query to tune query latency and
15842
16157
  # recall.
15843
16158
  class GoogleCloudAiplatformV1NearestNeighborQueryParameters
@@ -16206,6 +16521,204 @@ module Google
16206
16521
  end
16207
16522
  end
16208
16523
 
16524
+ # NotebookExecutionJob represents an instance of a notebook execution.
16525
+ class GoogleCloudAiplatformV1NotebookExecutionJob
16526
+ include Google::Apis::Core::Hashable
16527
+
16528
+ # Output only. Timestamp when this NotebookExecutionJob was created.
16529
+ # Corresponds to the JSON property `createTime`
16530
+ # @return [String]
16531
+ attr_accessor :create_time
16532
+
16533
+ # The Dataform Repository containing the input notebook.
16534
+ # Corresponds to the JSON property `dataformRepositorySource`
16535
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource]
16536
+ attr_accessor :dataform_repository_source
16537
+
16538
+ # The content of the input notebook in ipynb format.
16539
+ # Corresponds to the JSON property `directNotebookSource`
16540
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource]
16541
+ attr_accessor :direct_notebook_source
16542
+
16543
+ # The display name of the NotebookExecutionJob. The name can be up to 128
16544
+ # characters long and can consist of any UTF-8 characters.
16545
+ # Corresponds to the JSON property `displayName`
16546
+ # @return [String]
16547
+ attr_accessor :display_name
16548
+
16549
+ # Max running time of the execution job in seconds (default 86400s / 24 hrs).
16550
+ # Corresponds to the JSON property `executionTimeout`
16551
+ # @return [String]
16552
+ attr_accessor :execution_timeout
16553
+
16554
+ # The user email to run the execution as. Only supported by Colab runtimes.
16555
+ # Corresponds to the JSON property `executionUser`
16556
+ # @return [String]
16557
+ attr_accessor :execution_user
16558
+
16559
+ # The Cloud Storage uri for the input notebook.
16560
+ # Corresponds to the JSON property `gcsNotebookSource`
16561
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource]
16562
+ attr_accessor :gcs_notebook_source
16563
+
16564
+ # The Cloud Storage location to upload the result to. Format: `gs://bucket-name`
16565
+ # Corresponds to the JSON property `gcsOutputUri`
16566
+ # @return [String]
16567
+ attr_accessor :gcs_output_uri
16568
+
16569
+ # Output only. The state of the NotebookExecutionJob.
16570
+ # Corresponds to the JSON property `jobState`
16571
+ # @return [String]
16572
+ attr_accessor :job_state
16573
+
16574
+ # The labels with user-defined metadata to organize NotebookExecutionJobs. Label
16575
+ # keys and values can be no longer than 64 characters (Unicode codepoints), can
16576
+ # only contain lowercase letters, numeric characters, underscores and dashes.
16577
+ # International characters are allowed. See https://goo.gl/xmQnxf for more
16578
+ # information and examples of labels. System reserved label keys are prefixed
16579
+ # with "aiplatform.googleapis.com/" and are immutable.
16580
+ # Corresponds to the JSON property `labels`
16581
+ # @return [Hash<String,String>]
16582
+ attr_accessor :labels
16583
+
16584
+ # Output only. The resource name of this NotebookExecutionJob. Format: `projects/
16585
+ # `project_id`/locations/`location`/notebookExecutionJobs/`job_id``
16586
+ # Corresponds to the JSON property `name`
16587
+ # @return [String]
16588
+ attr_accessor :name
16589
+
16590
+ # The NotebookRuntimeTemplate to source compute configuration from.
16591
+ # Corresponds to the JSON property `notebookRuntimeTemplateResourceName`
16592
+ # @return [String]
16593
+ attr_accessor :notebook_runtime_template_resource_name
16594
+
16595
+ # Output only. The Schedule resource name if this job is triggered by one.
16596
+ # Format: `projects/`project_id`/locations/`location`/schedules/`schedule_id``
16597
+ # Corresponds to the JSON property `scheduleResourceName`
16598
+ # @return [String]
16599
+ attr_accessor :schedule_resource_name
16600
+
16601
+ # The service account to run the execution as.
16602
+ # Corresponds to the JSON property `serviceAccount`
16603
+ # @return [String]
16604
+ attr_accessor :service_account
16605
+
16606
+ # The `Status` type defines a logical error model that is suitable for different
16607
+ # programming environments, including REST APIs and RPC APIs. It is used by [
16608
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
16609
+ # data: error code, error message, and error details. You can find out more
16610
+ # about this error model and how to work with it in the [API Design Guide](https:
16611
+ # //cloud.google.com/apis/design/errors).
16612
+ # Corresponds to the JSON property `status`
16613
+ # @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
16614
+ attr_accessor :status
16615
+
16616
+ # Output only. Timestamp when this NotebookExecutionJob was most recently
16617
+ # updated.
16618
+ # Corresponds to the JSON property `updateTime`
16619
+ # @return [String]
16620
+ attr_accessor :update_time
16621
+
16622
+ def initialize(**args)
16623
+ update!(**args)
16624
+ end
16625
+
16626
+ # Update properties of this object
16627
+ def update!(**args)
16628
+ @create_time = args[:create_time] if args.key?(:create_time)
16629
+ @dataform_repository_source = args[:dataform_repository_source] if args.key?(:dataform_repository_source)
16630
+ @direct_notebook_source = args[:direct_notebook_source] if args.key?(:direct_notebook_source)
16631
+ @display_name = args[:display_name] if args.key?(:display_name)
16632
+ @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
16633
+ @execution_user = args[:execution_user] if args.key?(:execution_user)
16634
+ @gcs_notebook_source = args[:gcs_notebook_source] if args.key?(:gcs_notebook_source)
16635
+ @gcs_output_uri = args[:gcs_output_uri] if args.key?(:gcs_output_uri)
16636
+ @job_state = args[:job_state] if args.key?(:job_state)
16637
+ @labels = args[:labels] if args.key?(:labels)
16638
+ @name = args[:name] if args.key?(:name)
16639
+ @notebook_runtime_template_resource_name = args[:notebook_runtime_template_resource_name] if args.key?(:notebook_runtime_template_resource_name)
16640
+ @schedule_resource_name = args[:schedule_resource_name] if args.key?(:schedule_resource_name)
16641
+ @service_account = args[:service_account] if args.key?(:service_account)
16642
+ @status = args[:status] if args.key?(:status)
16643
+ @update_time = args[:update_time] if args.key?(:update_time)
16644
+ end
16645
+ end
16646
+
16647
+ # The Dataform Repository containing the input notebook.
16648
+ class GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource
16649
+ include Google::Apis::Core::Hashable
16650
+
16651
+ # The commit SHA to read repository with. If unset, the file will be read at
16652
+ # HEAD.
16653
+ # Corresponds to the JSON property `commitSha`
16654
+ # @return [String]
16655
+ attr_accessor :commit_sha
16656
+
16657
+ # The resource name of the Dataform Repository. Format: `projects/`project_id`/
16658
+ # locations/`location`/repositories/`repository_id``
16659
+ # Corresponds to the JSON property `dataformRepositoryResourceName`
16660
+ # @return [String]
16661
+ attr_accessor :dataform_repository_resource_name
16662
+
16663
+ def initialize(**args)
16664
+ update!(**args)
16665
+ end
16666
+
16667
+ # Update properties of this object
16668
+ def update!(**args)
16669
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
16670
+ @dataform_repository_resource_name = args[:dataform_repository_resource_name] if args.key?(:dataform_repository_resource_name)
16671
+ end
16672
+ end
16673
+
16674
+ # The content of the input notebook in ipynb format.
16675
+ class GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource
16676
+ include Google::Apis::Core::Hashable
16677
+
16678
+ # The base64-encoded contents of the input notebook file.
16679
+ # Corresponds to the JSON property `content`
16680
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
16681
+ # @return [String]
16682
+ attr_accessor :content
16683
+
16684
+ def initialize(**args)
16685
+ update!(**args)
16686
+ end
16687
+
16688
+ # Update properties of this object
16689
+ def update!(**args)
16690
+ @content = args[:content] if args.key?(:content)
16691
+ end
16692
+ end
16693
+
16694
+ # The Cloud Storage uri for the input notebook.
16695
+ class GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
16696
+ include Google::Apis::Core::Hashable
16697
+
16698
+ # The version of the Cloud Storage object to read. If unset, the current version
16699
+ # of the object is read. See https://cloud.google.com/storage/docs/metadata#
16700
+ # generation-number.
16701
+ # Corresponds to the JSON property `generation`
16702
+ # @return [String]
16703
+ attr_accessor :generation
16704
+
16705
+ # The Cloud Storage uri pointing to the ipynb file. Format: `gs://bucket/
16706
+ # notebook_file.ipynb`
16707
+ # Corresponds to the JSON property `uri`
16708
+ # @return [String]
16709
+ attr_accessor :uri
16710
+
16711
+ def initialize(**args)
16712
+ update!(**args)
16713
+ end
16714
+
16715
+ # Update properties of this object
16716
+ def update!(**args)
16717
+ @generation = args[:generation] if args.key?(:generation)
16718
+ @uri = args[:uri] if args.key?(:uri)
16719
+ end
16720
+ end
16721
+
16209
16722
  # The idle shutdown configuration of NotebookRuntimeTemplate, which contains the
16210
16723
  # idle_timeout as required field.
16211
16724
  class GoogleCloudAiplatformV1NotebookIdleShutdownConfig
@@ -16981,6 +17494,11 @@ module Google
16981
17494
  # @return [String]
16982
17495
  attr_accessor :network
16983
17496
 
17497
+ # Configuration for PSC-I.
17498
+ # Corresponds to the JSON property `pscInterfaceConfig`
17499
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig]
17500
+ attr_accessor :psc_interface_config
17501
+
16984
17502
  # Optional. A list of names for the reserved IP ranges under the VPC network
16985
17503
  # that can be used for this persistent resource. If set, we will deploy the
16986
17504
  # persistent resource within the provided IP ranges. Otherwise, the persistent
@@ -17036,6 +17554,7 @@ module Google
17036
17554
  @labels = args[:labels] if args.key?(:labels)
17037
17555
  @name = args[:name] if args.key?(:name)
17038
17556
  @network = args[:network] if args.key?(:network)
17557
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
17039
17558
  @reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
17040
17559
  @resource_pools = args[:resource_pools] if args.key?(:resource_pools)
17041
17560
  @resource_runtime = args[:resource_runtime] if args.key?(:resource_runtime)
@@ -18011,6 +18530,33 @@ module Google
18011
18530
  end
18012
18531
  end
18013
18532
 
18533
+ # Configuration for PSC-I.
18534
+ class GoogleCloudAiplatformV1PscInterfaceConfig
18535
+ include Google::Apis::Core::Hashable
18536
+
18537
+ # Optional. The full name of the Compute Engine [network attachment](https://
18538
+ # cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource.
18539
+ # For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is
18540
+ # of the form `projects/`project`/regions/`region`/networkAttachments/`
18541
+ # networkAttachment``. Where `project` is a project number, as in `12345`, and `
18542
+ # networkAttachment` is a network attachment name. To specify this field, you
18543
+ # must have already [created a network attachment] (https://cloud.google.com/vpc/
18544
+ # docs/create-manage-network-attachments#create-network-attachments). This field
18545
+ # is only used for resources using PSC-I.
18546
+ # Corresponds to the JSON property `networkAttachment`
18547
+ # @return [String]
18548
+ attr_accessor :network_attachment
18549
+
18550
+ def initialize(**args)
18551
+ update!(**args)
18552
+ end
18553
+
18554
+ # Update properties of this object
18555
+ def update!(**args)
18556
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
18557
+ end
18558
+ end
18559
+
18014
18560
  # A Model Garden Publisher Model.
18015
18561
  class GoogleCloudAiplatformV1PublisherModel
18016
18562
  include Google::Apis::Core::Hashable
@@ -18214,6 +18760,11 @@ module Google
18214
18760
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
18215
18761
  attr_accessor :dedicated_resources
18216
18762
 
18763
+ # Metadata information about the deployment for managing deployment config.
18764
+ # Corresponds to the JSON property `deployMetadata`
18765
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata]
18766
+ attr_accessor :deploy_metadata
18767
+
18217
18768
  # Optional. The name of the deploy task (e.g., "text to image generation").
18218
18769
  # Corresponds to the JSON property `deployTaskName`
18219
18770
  # @return [String]
@@ -18256,6 +18807,7 @@ module Google
18256
18807
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
18257
18808
  @container_spec = args[:container_spec] if args.key?(:container_spec)
18258
18809
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
18810
+ @deploy_metadata = args[:deploy_metadata] if args.key?(:deploy_metadata)
18259
18811
  @deploy_task_name = args[:deploy_task_name] if args.key?(:deploy_task_name)
18260
18812
  @large_model_reference = args[:large_model_reference] if args.key?(:large_model_reference)
18261
18813
  @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
@@ -18265,6 +18817,26 @@ module Google
18265
18817
  end
18266
18818
  end
18267
18819
 
18820
+ # Metadata information about the deployment for managing deployment config.
18821
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
18822
+ include Google::Apis::Core::Hashable
18823
+
18824
+ # Optional. Labels for the deployment. For managing deployment config like
18825
+ # verifying, source of deployment config, etc.
18826
+ # Corresponds to the JSON property `labels`
18827
+ # @return [Hash<String,String>]
18828
+ attr_accessor :labels
18829
+
18830
+ def initialize(**args)
18831
+ update!(**args)
18832
+ end
18833
+
18834
+ # Update properties of this object
18835
+ def update!(**args)
18836
+ @labels = args[:labels] if args.key?(:labels)
18837
+ end
18838
+ end
18839
+
18268
18840
  # Configurations for PublisherModel GKE deployment
18269
18841
  class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
18270
18842
  include Google::Apis::Core::Hashable
@@ -19289,6 +19861,26 @@ module Google
19289
19861
  end
19290
19862
  end
19291
19863
 
19864
+ # Configuration for the Ray OSS Logs.
19865
+ class GoogleCloudAiplatformV1RayLogsSpec
19866
+ include Google::Apis::Core::Hashable
19867
+
19868
+ # Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.
19869
+ # Corresponds to the JSON property `disabled`
19870
+ # @return [Boolean]
19871
+ attr_accessor :disabled
19872
+ alias_method :disabled?, :disabled
19873
+
19874
+ def initialize(**args)
19875
+ update!(**args)
19876
+ end
19877
+
19878
+ # Update properties of this object
19879
+ def update!(**args)
19880
+ @disabled = args[:disabled] if args.key?(:disabled)
19881
+ end
19882
+ end
19883
+
19292
19884
  # Configuration for the Ray metrics.
19293
19885
  class GoogleCloudAiplatformV1RayMetricSpec
19294
19886
  include Google::Apis::Core::Hashable
@@ -19332,6 +19924,11 @@ module Google
19332
19924
  # @return [String]
19333
19925
  attr_accessor :image_uri
19334
19926
 
19927
+ # Configuration for the Ray OSS Logs.
19928
+ # Corresponds to the JSON property `rayLogsSpec`
19929
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayLogsSpec]
19930
+ attr_accessor :ray_logs_spec
19931
+
19335
19932
  # Configuration for the Ray metrics.
19336
19933
  # Corresponds to the JSON property `rayMetricSpec`
19337
19934
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec]
@@ -19354,6 +19951,7 @@ module Google
19354
19951
  def update!(**args)
19355
19952
  @head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
19356
19953
  @image_uri = args[:image_uri] if args.key?(:image_uri)
19954
+ @ray_logs_spec = args[:ray_logs_spec] if args.key?(:ray_logs_spec)
19357
19955
  @ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
19358
19956
  @resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
19359
19957
  end
@@ -19843,7 +20441,12 @@ module Google
19843
20441
  attr_accessor :max_replica_count
19844
20442
 
19845
20443
  # Optional. min replicas in the node pool, must be ≤ replica_count and <
19846
- # max_replica_count or will throw error
20444
+ # max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex,
20445
+ # we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray
20446
+ # behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-
20447
+ # autoscaling.html#cluster-config-parameters). As for Persistent Resource, the
20448
+ # min_replica_count must be > 0, we added a corresponding validation inside
20449
+ # CreatePersistentResourceRequestValidator.java.
19847
20450
  # Corresponds to the JSON property `minReplicaCount`
19848
20451
  # @return [Fixnum]
19849
20452
  attr_accessor :min_replica_count
@@ -19989,9 +20592,7 @@ module Google
19989
20592
  class GoogleCloudAiplatformV1Retrieval
19990
20593
  include Google::Apis::Core::Hashable
19991
20594
 
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.
20595
+ # Optional. Deprecated. This option is no longer supported.
19995
20596
  # Corresponds to the JSON property `disableAttribution`
19996
20597
  # @return [Boolean]
19997
20598
  attr_accessor :disable_attribution
@@ -20701,6 +21302,11 @@ module Google
20701
21302
  attr_accessor :restart_job_on_worker_restart
20702
21303
  alias_method :restart_job_on_worker_restart?, :restart_job_on_worker_restart
20703
21304
 
21305
+ # Optional. This determines which type of scheduling strategy to use.
21306
+ # Corresponds to the JSON property `strategy`
21307
+ # @return [String]
21308
+ attr_accessor :strategy
21309
+
20704
21310
  # The maximum job running time. The default is 7 days.
20705
21311
  # Corresponds to the JSON property `timeout`
20706
21312
  # @return [String]
@@ -20714,6 +21320,7 @@ module Google
20714
21320
  def update!(**args)
20715
21321
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
20716
21322
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
21323
+ @strategy = args[:strategy] if args.key?(:strategy)
20717
21324
  @timeout = args[:timeout] if args.key?(:timeout)
20718
21325
  end
20719
21326
  end
@@ -27318,6 +27925,45 @@ module Google
27318
27925
  end
27319
27926
  end
27320
27927
 
27928
+ # Segment of the content.
27929
+ class GoogleCloudAiplatformV1Segment
27930
+ include Google::Apis::Core::Hashable
27931
+
27932
+ # Output only. End index in the given Part, measured in bytes. Offset from the
27933
+ # start of the Part, exclusive, starting at zero.
27934
+ # Corresponds to the JSON property `endIndex`
27935
+ # @return [Fixnum]
27936
+ attr_accessor :end_index
27937
+
27938
+ # Output only. The index of a Part object within its parent Content object.
27939
+ # Corresponds to the JSON property `partIndex`
27940
+ # @return [Fixnum]
27941
+ attr_accessor :part_index
27942
+
27943
+ # Output only. Start index in the given Part, measured in bytes. Offset from the
27944
+ # start of the Part, inclusive, starting at zero.
27945
+ # Corresponds to the JSON property `startIndex`
27946
+ # @return [Fixnum]
27947
+ attr_accessor :start_index
27948
+
27949
+ # Output only. The text corresponding to the segment from the response.
27950
+ # Corresponds to the JSON property `text`
27951
+ # @return [String]
27952
+ attr_accessor :text
27953
+
27954
+ def initialize(**args)
27955
+ update!(**args)
27956
+ end
27957
+
27958
+ # Update properties of this object
27959
+ def update!(**args)
27960
+ @end_index = args[:end_index] if args.key?(:end_index)
27961
+ @part_index = args[:part_index] if args.key?(:part_index)
27962
+ @start_index = args[:start_index] if args.key?(:start_index)
27963
+ @text = args[:text] if args.key?(:text)
27964
+ end
27965
+ end
27966
+
27321
27967
  # Configuration for the use of custom service account to run the workloads.
27322
27968
  class GoogleCloudAiplatformV1ServiceAccountSpec
27323
27969
  include Google::Apis::Core::Hashable
@@ -28987,6 +29633,11 @@ module Google
28987
29633
  # @return [Fixnum]
28988
29634
  attr_accessor :total_billable_character_count
28989
29635
 
29636
+ # Output only. Number of billable tokens in the tuning dataset.
29637
+ # Corresponds to the JSON property `totalBillableTokenCount`
29638
+ # @return [Fixnum]
29639
+ attr_accessor :total_billable_token_count
29640
+
28990
29641
  # Output only. Number of tuning characters in the tuning dataset.
28991
29642
  # Corresponds to the JSON property `totalTuningCharacterCount`
28992
29643
  # @return [Fixnum]
@@ -29029,6 +29680,7 @@ module Google
29029
29680
  # Update properties of this object
29030
29681
  def update!(**args)
29031
29682
  @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
29683
+ @total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
29032
29684
  @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
29033
29685
  @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
29034
29686
  @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
@@ -29043,6 +29695,11 @@ module Google
29043
29695
  class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
29044
29696
  include Google::Apis::Core::Hashable
29045
29697
 
29698
+ # Output only. Sum of a given population of values that are billable.
29699
+ # Corresponds to the JSON property `billableSum`
29700
+ # @return [Fixnum]
29701
+ attr_accessor :billable_sum
29702
+
29046
29703
  # Output only. Defines the histogram bucket.
29047
29704
  # Corresponds to the JSON property `buckets`
29048
29705
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket>]
@@ -29089,6 +29746,7 @@ module Google
29089
29746
 
29090
29747
  # Update properties of this object
29091
29748
  def update!(**args)
29749
+ @billable_sum = args[:billable_sum] if args.key?(:billable_sum)
29092
29750
  @buckets = args[:buckets] if args.key?(:buckets)
29093
29751
  @max = args[:max] if args.key?(:max)
29094
29752
  @mean = args[:mean] if args.key?(:mean)
@@ -29389,6 +30047,18 @@ module Google
29389
30047
  # @return [Fixnum]
29390
30048
  attr_accessor :run_count
29391
30049
 
30050
+ # Output only. Reserved for future use.
30051
+ # Corresponds to the JSON property `satisfiesPzi`
30052
+ # @return [Boolean]
30053
+ attr_accessor :satisfies_pzi
30054
+ alias_method :satisfies_pzi?, :satisfies_pzi
30055
+
30056
+ # Output only. Reserved for future use.
30057
+ # Corresponds to the JSON property `satisfiesPzs`
30058
+ # @return [Boolean]
30059
+ attr_accessor :satisfies_pzs
30060
+ alias_method :satisfies_pzs?, :satisfies_pzs
30061
+
29392
30062
  # Output only. Timestamp when this Tensorboard was last updated.
29393
30063
  # Corresponds to the JSON property `updateTime`
29394
30064
  # @return [String]
@@ -29410,6 +30080,8 @@ module Google
29410
30080
  @labels = args[:labels] if args.key?(:labels)
29411
30081
  @name = args[:name] if args.key?(:name)
29412
30082
  @run_count = args[:run_count] if args.key?(:run_count)
30083
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
30084
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
29413
30085
  @update_time = args[:update_time] if args.key?(:update_time)
29414
30086
  end
29415
30087
  end
@@ -29893,6 +30565,11 @@ module Google
29893
30565
  class GoogleCloudAiplatformV1TokensInfo
29894
30566
  include Google::Apis::Core::Hashable
29895
30567
 
30568
+ # Optional. Optional fields for the role from the corresponding Content.
30569
+ # Corresponds to the JSON property `role`
30570
+ # @return [String]
30571
+ attr_accessor :role
30572
+
29896
30573
  # A list of token ids from the input.
29897
30574
  # Corresponds to the JSON property `tokenIds`
29898
30575
  # @return [Array<Fixnum>]
@@ -29909,6 +30586,7 @@ module Google
29909
30586
 
29910
30587
  # Update properties of this object
29911
30588
  def update!(**args)
30589
+ @role = args[:role] if args.key?(:role)
29912
30590
  @token_ids = args[:token_ids] if args.key?(:token_ids)
29913
30591
  @tokens = args[:tokens] if args.key?(:tokens)
29914
30592
  end
@@ -32556,102 +33234,6 @@ module Google
32556
33234
  @units = args[:units] if args.key?(:units)
32557
33235
  end
32558
33236
  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
33237
  end
32656
33238
  end
32657
33239
  end