google-apis-aiplatform_v1beta1 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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::AiplatformV1beta1::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
 
@@ -783,6 +777,26 @@ module Google
783
777
  end
784
778
  end
785
779
 
780
+ # The API secret.
781
+ class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # Required. The SecretManager secret version resource name storing API key. e.g.
785
+ # projects/`project`/secrets/`secret`/versions/`version`
786
+ # Corresponds to the JSON property `apiKeySecretVersion`
787
+ # @return [String]
788
+ attr_accessor :api_key_secret_version
789
+
790
+ def initialize(**args)
791
+ update!(**args)
792
+ end
793
+
794
+ # Update properties of this object
795
+ def update!(**args)
796
+ @api_key_secret_version = args[:api_key_secret_version] if args.key?(:api_key_secret_version)
797
+ end
798
+ end
799
+
786
800
  # Instance of a general artifact.
787
801
  class GoogleCloudAiplatformV1beta1Artifact
788
802
  include Google::Apis::Core::Hashable
@@ -2485,12 +2499,19 @@ module Google
2485
2499
  class GoogleCloudAiplatformV1beta1BleuSpec
2486
2500
  include Google::Apis::Core::Hashable
2487
2501
 
2502
+ # Optional. Whether to use_effective_order to compute bleu score.
2503
+ # Corresponds to the JSON property `useEffectiveOrder`
2504
+ # @return [Boolean]
2505
+ attr_accessor :use_effective_order
2506
+ alias_method :use_effective_order?, :use_effective_order
2507
+
2488
2508
  def initialize(**args)
2489
2509
  update!(**args)
2490
2510
  end
2491
2511
 
2492
2512
  # Update properties of this object
2493
2513
  def update!(**args)
2514
+ @use_effective_order = args[:use_effective_order] if args.key?(:use_effective_order)
2494
2515
  end
2495
2516
  end
2496
2517
 
@@ -2829,6 +2850,11 @@ module Google
2829
2850
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetyRating>]
2830
2851
  attr_accessor :safety_ratings
2831
2852
 
2853
+ # Output only. Confidence score of the candidate.
2854
+ # Corresponds to the JSON property `score`
2855
+ # @return [Float]
2856
+ attr_accessor :score
2857
+
2832
2858
  def initialize(**args)
2833
2859
  update!(**args)
2834
2860
  end
@@ -2842,6 +2868,7 @@ module Google
2842
2868
  @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
2843
2869
  @index = args[:index] if args.key?(:index)
2844
2870
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
2871
+ @score = args[:score] if args.key?(:score)
2845
2872
  end
2846
2873
  end
2847
2874
 
@@ -3162,20 +3189,33 @@ module Google
3162
3189
  class GoogleCloudAiplatformV1beta1ComputeTokensRequest
3163
3190
  include Google::Apis::Core::Hashable
3164
3191
 
3165
- # Required. The instances that are the input to token computing API call. Schema
3192
+ # Optional. Input content.
3193
+ # Corresponds to the JSON property `contents`
3194
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
3195
+ attr_accessor :contents
3196
+
3197
+ # Optional. The instances that are the input to token computing API call. Schema
3166
3198
  # is identical to the prediction schema of the text model, even for the non-text
3167
3199
  # models, like chat models, or Codey models.
3168
3200
  # Corresponds to the JSON property `instances`
3169
3201
  # @return [Array<Object>]
3170
3202
  attr_accessor :instances
3171
3203
 
3204
+ # Optional. The name of the publisher model requested to serve the prediction.
3205
+ # Format: projects/`project`/locations/`location`/publishers/*/models/*
3206
+ # Corresponds to the JSON property `model`
3207
+ # @return [String]
3208
+ attr_accessor :model
3209
+
3172
3210
  def initialize(**args)
3173
3211
  update!(**args)
3174
3212
  end
3175
3213
 
3176
3214
  # Update properties of this object
3177
3215
  def update!(**args)
3216
+ @contents = args[:contents] if args.key?(:contents)
3178
3217
  @instances = args[:instances] if args.key?(:instances)
3218
+ @model = args[:model] if args.key?(:model)
3179
3219
  end
3180
3220
  end
3181
3221
 
@@ -3478,23 +3518,39 @@ module Google
3478
3518
  class GoogleCloudAiplatformV1beta1CountTokensRequest
3479
3519
  include Google::Apis::Core::Hashable
3480
3520
 
3481
- # Required. Input content.
3521
+ # Optional. Input content.
3482
3522
  # Corresponds to the JSON property `contents`
3483
3523
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
3484
3524
  attr_accessor :contents
3485
3525
 
3486
- # Required. The instances that are the input to token counting call. Schema is
3526
+ # Optional. The instances that are the input to token counting call. Schema is
3487
3527
  # identical to the prediction schema of the underlying model.
3488
3528
  # Corresponds to the JSON property `instances`
3489
3529
  # @return [Array<Object>]
3490
3530
  attr_accessor :instances
3491
3531
 
3492
- # Required. The name of the publisher model requested to serve the prediction.
3532
+ # Optional. The name of the publisher model requested to serve the prediction.
3493
3533
  # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
3494
3534
  # Corresponds to the JSON property `model`
3495
3535
  # @return [String]
3496
3536
  attr_accessor :model
3497
3537
 
3538
+ # The base structured datatype containing multi-part content of a message. A `
3539
+ # Content` includes a `role` field designating the producer of the `Content` and
3540
+ # a `parts` field containing multi-part data that contains the content of the
3541
+ # message turn.
3542
+ # Corresponds to the JSON property `systemInstruction`
3543
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
3544
+ attr_accessor :system_instruction
3545
+
3546
+ # Optional. A list of `Tools` the model may use to generate the next response. A
3547
+ # `Tool` is a piece of code that enables the system to interact with external
3548
+ # systems to perform an action, or set of actions, outside of knowledge and
3549
+ # scope of the model.
3550
+ # Corresponds to the JSON property `tools`
3551
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
3552
+ attr_accessor :tools
3553
+
3498
3554
  def initialize(**args)
3499
3555
  update!(**args)
3500
3556
  end
@@ -3504,6 +3560,8 @@ module Google
3504
3560
  @contents = args[:contents] if args.key?(:contents)
3505
3561
  @instances = args[:instances] if args.key?(:instances)
3506
3562
  @model = args[:model] if args.key?(:model)
3563
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
3564
+ @tools = args[:tools] if args.key?(:tools)
3507
3565
  end
3508
3566
  end
3509
3567
 
@@ -4829,7 +4887,7 @@ module Google
4829
4887
  # @return [String]
4830
4888
  attr_accessor :model_reference
4831
4889
 
4832
- # Output only. The resource name of the Dataset.
4890
+ # Output only. Identifier. The resource name of the Dataset.
4833
4891
  # Corresponds to the JSON property `name`
4834
4892
  # @return [String]
4835
4893
  attr_accessor :name
@@ -4909,7 +4967,7 @@ module Google
4909
4967
  # @return [String]
4910
4968
  attr_accessor :model_reference
4911
4969
 
4912
- # Output only. The resource name of the DatasetVersion.
4970
+ # Output only. Identifier. The resource name of the DatasetVersion.
4913
4971
  # Corresponds to the JSON property `name`
4914
4972
  # @return [String]
4915
4973
  attr_accessor :name
@@ -6029,6 +6087,24 @@ module Google
6029
6087
  # @return [String]
6030
6088
  attr_accessor :create_time
6031
6089
 
6090
+ # Output only. DNS of the dedicated endpoint. Will only be populated if
6091
+ # dedicated_endpoint_enabled is true. Format: `https://`endpoint_id`.`region`-`
6092
+ # project_number`.prediction.vertexai.goog`.
6093
+ # Corresponds to the JSON property `dedicatedEndpointDns`
6094
+ # @return [String]
6095
+ attr_accessor :dedicated_endpoint_dns
6096
+
6097
+ # If true, the endpoint will be exposed through a dedicated DNS [Endpoint.
6098
+ # dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated
6099
+ # from other users' traffic and will have better performance and reliability.
6100
+ # Note: Once you enabled dedicated endpoint, you won't be able to send request
6101
+ # to the shared DNS `region`-aiplatform.googleapis.com. The limitation will be
6102
+ # removed soon.
6103
+ # Corresponds to the JSON property `dedicatedEndpointEnabled`
6104
+ # @return [Boolean]
6105
+ attr_accessor :dedicated_endpoint_enabled
6106
+ alias_method :dedicated_endpoint_enabled?, :dedicated_endpoint_enabled
6107
+
6032
6108
  # Output only. The models deployed in this Endpoint. To add or remove
6033
6109
  # DeployedModels use EndpointService.DeployModel and EndpointService.
6034
6110
  # UndeployModel respectively.
@@ -6131,6 +6207,8 @@ module Google
6131
6207
  # Update properties of this object
6132
6208
  def update!(**args)
6133
6209
  @create_time = args[:create_time] if args.key?(:create_time)
6210
+ @dedicated_endpoint_dns = args[:dedicated_endpoint_dns] if args.key?(:dedicated_endpoint_dns)
6211
+ @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
6134
6212
  @deployed_models = args[:deployed_models] if args.key?(:deployed_models)
6135
6213
  @description = args[:description] if args.key?(:description)
6136
6214
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -11400,10 +11478,95 @@ module Google
11400
11478
  end
11401
11479
  end
11402
11480
 
11481
+ # Grounding chunk.
11482
+ class GoogleCloudAiplatformV1beta1GroundingChunk
11483
+ include Google::Apis::Core::Hashable
11484
+
11485
+ # Chunk from context retrieved by the retrieval tools.
11486
+ # Corresponds to the JSON property `retrievedContext`
11487
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
11488
+ attr_accessor :retrieved_context
11489
+
11490
+ # Chunk from the web.
11491
+ # Corresponds to the JSON property `web`
11492
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkWeb]
11493
+ attr_accessor :web
11494
+
11495
+ def initialize(**args)
11496
+ update!(**args)
11497
+ end
11498
+
11499
+ # Update properties of this object
11500
+ def update!(**args)
11501
+ @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
11502
+ @web = args[:web] if args.key?(:web)
11503
+ end
11504
+ end
11505
+
11506
+ # Chunk from context retrieved by the retrieval tools.
11507
+ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
11508
+ include Google::Apis::Core::Hashable
11509
+
11510
+ # Title of the attribution.
11511
+ # Corresponds to the JSON property `title`
11512
+ # @return [String]
11513
+ attr_accessor :title
11514
+
11515
+ # URI reference of the attribution.
11516
+ # Corresponds to the JSON property `uri`
11517
+ # @return [String]
11518
+ attr_accessor :uri
11519
+
11520
+ def initialize(**args)
11521
+ update!(**args)
11522
+ end
11523
+
11524
+ # Update properties of this object
11525
+ def update!(**args)
11526
+ @title = args[:title] if args.key?(:title)
11527
+ @uri = args[:uri] if args.key?(:uri)
11528
+ end
11529
+ end
11530
+
11531
+ # Chunk from the web.
11532
+ class GoogleCloudAiplatformV1beta1GroundingChunkWeb
11533
+ include Google::Apis::Core::Hashable
11534
+
11535
+ # Title of the chunk.
11536
+ # Corresponds to the JSON property `title`
11537
+ # @return [String]
11538
+ attr_accessor :title
11539
+
11540
+ # URI reference of the chunk.
11541
+ # Corresponds to the JSON property `uri`
11542
+ # @return [String]
11543
+ attr_accessor :uri
11544
+
11545
+ def initialize(**args)
11546
+ update!(**args)
11547
+ end
11548
+
11549
+ # Update properties of this object
11550
+ def update!(**args)
11551
+ @title = args[:title] if args.key?(:title)
11552
+ @uri = args[:uri] if args.key?(:uri)
11553
+ end
11554
+ end
11555
+
11403
11556
  # Metadata returned to client when grounding is enabled.
11404
11557
  class GoogleCloudAiplatformV1beta1GroundingMetadata
11405
11558
  include Google::Apis::Core::Hashable
11406
11559
 
11560
+ # List of supporting references retrieved from specified grounding source.
11561
+ # Corresponds to the JSON property `groundingChunks`
11562
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunk>]
11563
+ attr_accessor :grounding_chunks
11564
+
11565
+ # Optional. List of grounding support.
11566
+ # Corresponds to the JSON property `groundingSupports`
11567
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingSupport>]
11568
+ attr_accessor :grounding_supports
11569
+
11407
11570
  # Optional. Queries executed by the retrieval tools.
11408
11571
  # Corresponds to the JSON property `retrievalQueries`
11409
11572
  # @return [Array<String>]
@@ -11425,12 +11588,49 @@ module Google
11425
11588
 
11426
11589
  # Update properties of this object
11427
11590
  def update!(**args)
11591
+ @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
11592
+ @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
11428
11593
  @retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
11429
11594
  @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
11430
11595
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
11431
11596
  end
11432
11597
  end
11433
11598
 
11599
+ # Grounding support.
11600
+ class GoogleCloudAiplatformV1beta1GroundingSupport
11601
+ include Google::Apis::Core::Hashable
11602
+
11603
+ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most
11604
+ # confident. This list must have the same size as the grounding_chunk_indices.
11605
+ # Corresponds to the JSON property `confidenceScores`
11606
+ # @return [Array<Float>]
11607
+ attr_accessor :confidence_scores
11608
+
11609
+ # A list of indices (into 'grounding_chunk') specifying the citations associated
11610
+ # with the claim. For instance [1,3,4] means that grounding_chunk[1],
11611
+ # grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to
11612
+ # the claim.
11613
+ # Corresponds to the JSON property `groundingChunkIndices`
11614
+ # @return [Array<Fixnum>]
11615
+ attr_accessor :grounding_chunk_indices
11616
+
11617
+ # Segment of the content.
11618
+ # Corresponds to the JSON property `segment`
11619
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment]
11620
+ attr_accessor :segment
11621
+
11622
+ def initialize(**args)
11623
+ update!(**args)
11624
+ end
11625
+
11626
+ # Update properties of this object
11627
+ def update!(**args)
11628
+ @confidence_scores = args[:confidence_scores] if args.key?(:confidence_scores)
11629
+ @grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
11630
+ @segment = args[:segment] if args.key?(:segment)
11631
+ end
11632
+ end
11633
+
11434
11634
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
11435
11635
  # specification and multiple CustomJobs with identical CustomJob specification.
11436
11636
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
@@ -11951,6 +12151,11 @@ module Google
11951
12151
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
11952
12152
  attr_accessor :google_drive_source
11953
12153
 
12154
+ # The Jira source for the ImportRagFilesRequest.
12155
+ # Corresponds to the JSON property `jiraSource`
12156
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSource]
12157
+ attr_accessor :jira_source
12158
+
11954
12159
  # Optional. The max number of queries per minute that this job is allowed to
11955
12160
  # make to the embedding model specified on the corpus. This value is specific to
11956
12161
  # this job and not shared across other import jobs. Consult the Quotas page on
@@ -11965,6 +12170,11 @@ module Google
11965
12170
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
11966
12171
  attr_accessor :rag_file_chunking_config
11967
12172
 
12173
+ # The Slack source for the ImportRagFilesRequest.
12174
+ # Corresponds to the JSON property `slackSource`
12175
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSource]
12176
+ attr_accessor :slack_source
12177
+
11968
12178
  def initialize(**args)
11969
12179
  update!(**args)
11970
12180
  end
@@ -11973,8 +12183,10 @@ module Google
11973
12183
  def update!(**args)
11974
12184
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
11975
12185
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
12186
+ @jira_source = args[:jira_source] if args.key?(:jira_source)
11976
12187
  @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
11977
12188
  @rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
12189
+ @slack_source = args[:slack_source] if args.key?(:slack_source)
11978
12190
  end
11979
12191
  end
11980
12192
 
@@ -12709,6 +12921,70 @@ module Google
12709
12921
  end
12710
12922
  end
12711
12923
 
12924
+ # The Jira source for the ImportRagFilesRequest.
12925
+ class GoogleCloudAiplatformV1beta1JiraSource
12926
+ include Google::Apis::Core::Hashable
12927
+
12928
+ # Required. The Jira queries.
12929
+ # Corresponds to the JSON property `jiraQueries`
12930
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSourceJiraQueries>]
12931
+ attr_accessor :jira_queries
12932
+
12933
+ def initialize(**args)
12934
+ update!(**args)
12935
+ end
12936
+
12937
+ # Update properties of this object
12938
+ def update!(**args)
12939
+ @jira_queries = args[:jira_queries] if args.key?(:jira_queries)
12940
+ end
12941
+ end
12942
+
12943
+ # JiraQueries contains the Jira queries and corresponding authentication.
12944
+ class GoogleCloudAiplatformV1beta1JiraSourceJiraQueries
12945
+ include Google::Apis::Core::Hashable
12946
+
12947
+ # The API secret.
12948
+ # Corresponds to the JSON property `apiKeyConfig`
12949
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig]
12950
+ attr_accessor :api_key_config
12951
+
12952
+ # A list of custom Jira queries to import. For information about JQL (Jira Query
12953
+ # Language), see https://support.atlassian.com/jira-service-management-cloud/
12954
+ # docs/use-advanced-search-with-jira-query-language-jql/
12955
+ # Corresponds to the JSON property `customQueries`
12956
+ # @return [Array<String>]
12957
+ attr_accessor :custom_queries
12958
+
12959
+ # Required. The Jira email address.
12960
+ # Corresponds to the JSON property `email`
12961
+ # @return [String]
12962
+ attr_accessor :email
12963
+
12964
+ # A list of Jira projects to import in their entirety.
12965
+ # Corresponds to the JSON property `projects`
12966
+ # @return [Array<String>]
12967
+ attr_accessor :projects
12968
+
12969
+ # Required. The Jira server URI.
12970
+ # Corresponds to the JSON property `serverUri`
12971
+ # @return [String]
12972
+ attr_accessor :server_uri
12973
+
12974
+ def initialize(**args)
12975
+ update!(**args)
12976
+ end
12977
+
12978
+ # Update properties of this object
12979
+ def update!(**args)
12980
+ @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
12981
+ @custom_queries = args[:custom_queries] if args.key?(:custom_queries)
12982
+ @email = args[:email] if args.key?(:email)
12983
+ @projects = args[:projects] if args.key?(:projects)
12984
+ @server_uri = args[:server_uri] if args.key?(:server_uri)
12985
+ end
12986
+ end
12987
+
12712
12988
  # Contains information about the Large Model.
12713
12989
  class GoogleCloudAiplatformV1beta1LargeModelReference
12714
12990
  include Google::Apis::Core::Hashable
@@ -15084,6 +15360,18 @@ module Google
15084
15360
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictSchemata]
15085
15361
  attr_accessor :predict_schemata
15086
15362
 
15363
+ # Output only. Reserved for future use.
15364
+ # Corresponds to the JSON property `satisfiesPzi`
15365
+ # @return [Boolean]
15366
+ attr_accessor :satisfies_pzi
15367
+ alias_method :satisfies_pzi?, :satisfies_pzi
15368
+
15369
+ # Output only. Reserved for future use.
15370
+ # Corresponds to the JSON property `satisfiesPzs`
15371
+ # @return [Boolean]
15372
+ attr_accessor :satisfies_pzs
15373
+ alias_method :satisfies_pzs?, :satisfies_pzs
15374
+
15087
15375
  # Output only. When this Model is deployed, its prediction resources are
15088
15376
  # described by the `prediction_resources` field of the Endpoint.deployed_models
15089
15377
  # object. Because not all Models support all resource configuration types, the
@@ -15208,6 +15496,8 @@ module Google
15208
15496
  @name = args[:name] if args.key?(:name)
15209
15497
  @original_model_info = args[:original_model_info] if args.key?(:original_model_info)
15210
15498
  @predict_schemata = args[:predict_schemata] if args.key?(:predict_schemata)
15499
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
15500
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
15211
15501
  @supported_deployment_resources_types = args[:supported_deployment_resources_types] if args.key?(:supported_deployment_resources_types)
15212
15502
  @supported_export_formats = args[:supported_export_formats] if args.key?(:supported_export_formats)
15213
15503
  @supported_input_storage_formats = args[:supported_input_storage_formats] if args.key?(:supported_input_storage_formats)
@@ -16267,6 +16557,18 @@ module Google
16267
16557
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec]
16268
16558
  attr_accessor :output_spec
16269
16559
 
16560
+ # Output only. Reserved for future use.
16561
+ # Corresponds to the JSON property `satisfiesPzi`
16562
+ # @return [Boolean]
16563
+ attr_accessor :satisfies_pzi
16564
+ alias_method :satisfies_pzi?, :satisfies_pzi
16565
+
16566
+ # Output only. Reserved for future use.
16567
+ # Corresponds to the JSON property `satisfiesPzs`
16568
+ # @return [Boolean]
16569
+ attr_accessor :satisfies_pzs
16570
+ alias_method :satisfies_pzs?, :satisfies_pzs
16571
+
16270
16572
  # Tabular monitoring objective.
16271
16573
  # Corresponds to the JSON property `tabularObjective`
16272
16574
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective]
@@ -16296,6 +16598,8 @@ module Google
16296
16598
  @name = args[:name] if args.key?(:name)
16297
16599
  @notification_spec = args[:notification_spec] if args.key?(:notification_spec)
16298
16600
  @output_spec = args[:output_spec] if args.key?(:output_spec)
16601
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
16602
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
16299
16603
  @tabular_objective = args[:tabular_objective] if args.key?(:tabular_objective)
16300
16604
  @training_dataset = args[:training_dataset] if args.key?(:training_dataset)
16301
16605
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -18381,6 +18685,11 @@ module Google
18381
18685
  # @return [Fixnum]
18382
18686
  attr_accessor :neighbor_count
18383
18687
 
18688
+ # Optional. The list of numeric filters.
18689
+ # Corresponds to the JSON property `numericFilters`
18690
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter>]
18691
+ attr_accessor :numeric_filters
18692
+
18384
18693
  # Parameters that can be overrided in each query to tune query latency and
18385
18694
  # recall.
18386
18695
  # Corresponds to the JSON property `parameters`
@@ -18409,6 +18718,7 @@ module Google
18409
18718
  @embedding = args[:embedding] if args.key?(:embedding)
18410
18719
  @entity_id = args[:entity_id] if args.key?(:entity_id)
18411
18720
  @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
18721
+ @numeric_filters = args[:numeric_filters] if args.key?(:numeric_filters)
18412
18722
  @parameters = args[:parameters] if args.key?(:parameters)
18413
18723
  @per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
18414
18724
  @string_filters = args[:string_filters] if args.key?(:string_filters)
@@ -18434,6 +18744,56 @@ module Google
18434
18744
  end
18435
18745
  end
18436
18746
 
18747
+ # Numeric filter is used to search a subset of the entities by using boolean
18748
+ # rules on numeric columns. For example: Database Point 0: `name: “a” value_int:
18749
+ # 42` `name: “b” value_float: 1.0` Database Point 1: `name: “a” value_int: 10` `
18750
+ # name: “b” value_float: 2.0` Database Point 2: `name: “a” value_int: -1` `name:
18751
+ # “b” value_float: 3.0` Query: `name: “a” value_int: 12 operator: LESS` //
18752
+ # Matches Point 1, 2 `name: “b” value_float: 2.0 operator: EQUAL` // Matches
18753
+ # Point 1
18754
+ class GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter
18755
+ include Google::Apis::Core::Hashable
18756
+
18757
+ # Required. Column name in BigQuery that used as filters.
18758
+ # Corresponds to the JSON property `name`
18759
+ # @return [String]
18760
+ attr_accessor :name
18761
+
18762
+ # Optional. This MUST be specified for queries and must NOT be specified for
18763
+ # database points.
18764
+ # Corresponds to the JSON property `op`
18765
+ # @return [String]
18766
+ attr_accessor :op
18767
+
18768
+ # double value type.
18769
+ # Corresponds to the JSON property `valueDouble`
18770
+ # @return [Float]
18771
+ attr_accessor :value_double
18772
+
18773
+ # float value type.
18774
+ # Corresponds to the JSON property `valueFloat`
18775
+ # @return [Float]
18776
+ attr_accessor :value_float
18777
+
18778
+ # int value type.
18779
+ # Corresponds to the JSON property `valueInt`
18780
+ # @return [Fixnum]
18781
+ attr_accessor :value_int
18782
+
18783
+ def initialize(**args)
18784
+ update!(**args)
18785
+ end
18786
+
18787
+ # Update properties of this object
18788
+ def update!(**args)
18789
+ @name = args[:name] if args.key?(:name)
18790
+ @op = args[:op] if args.key?(:op)
18791
+ @value_double = args[:value_double] if args.key?(:value_double)
18792
+ @value_float = args[:value_float] if args.key?(:value_float)
18793
+ @value_int = args[:value_int] if args.key?(:value_int)
18794
+ end
18795
+ end
18796
+
18437
18797
  # Parameters that can be overrided in each query to tune query latency and
18438
18798
  # recall.
18439
18799
  class GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters
@@ -19775,6 +20135,11 @@ module Google
19775
20135
  # @return [String]
19776
20136
  attr_accessor :network
19777
20137
 
20138
+ # Configuration for PSC-I.
20139
+ # Corresponds to the JSON property `pscInterfaceConfig`
20140
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscInterfaceConfig]
20141
+ attr_accessor :psc_interface_config
20142
+
19778
20143
  # Optional. A list of names for the reserved IP ranges under the VPC network
19779
20144
  # that can be used for this persistent resource. If set, we will deploy the
19780
20145
  # persistent resource within the provided IP ranges. Otherwise, the persistent
@@ -19830,6 +20195,7 @@ module Google
19830
20195
  @labels = args[:labels] if args.key?(:labels)
19831
20196
  @name = args[:name] if args.key?(:name)
19832
20197
  @network = args[:network] if args.key?(:network)
20198
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
19833
20199
  @reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
19834
20200
  @resource_pools = args[:resource_pools] if args.key?(:resource_pools)
19835
20201
  @resource_runtime = args[:resource_runtime] if args.key?(:resource_runtime)
@@ -19936,6 +20302,18 @@ module Google
19936
20302
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig]
19937
20303
  attr_accessor :runtime_config
19938
20304
 
20305
+ # Output only. Reserved for future use.
20306
+ # Corresponds to the JSON property `satisfiesPzi`
20307
+ # @return [Boolean]
20308
+ attr_accessor :satisfies_pzi
20309
+ alias_method :satisfies_pzi?, :satisfies_pzi
20310
+
20311
+ # Output only. Reserved for future use.
20312
+ # Corresponds to the JSON property `satisfiesPzs`
20313
+ # @return [Boolean]
20314
+ attr_accessor :satisfies_pzs
20315
+ alias_method :satisfies_pzs?, :satisfies_pzs
20316
+
19939
20317
  # Output only. The schedule resource name. Only returned if the Pipeline is
19940
20318
  # created by Schedule API.
19941
20319
  # Corresponds to the JSON property `scheduleName`
@@ -19999,6 +20377,8 @@ module Google
19999
20377
  @preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
20000
20378
  @reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
20001
20379
  @runtime_config = args[:runtime_config] if args.key?(:runtime_config)
20380
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
20381
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
20002
20382
  @schedule_name = args[:schedule_name] if args.key?(:schedule_name)
20003
20383
  @service_account = args[:service_account] if args.key?(:service_account)
20004
20384
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -20805,6 +21185,33 @@ module Google
20805
21185
  end
20806
21186
  end
20807
21187
 
21188
+ # Configuration for PSC-I.
21189
+ class GoogleCloudAiplatformV1beta1PscInterfaceConfig
21190
+ include Google::Apis::Core::Hashable
21191
+
21192
+ # Optional. The full name of the Compute Engine [network attachment](https://
21193
+ # cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource.
21194
+ # For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is
21195
+ # of the form `projects/`project`/regions/`region`/networkAttachments/`
21196
+ # networkAttachment``. Where `project` is a project number, as in `12345`, and `
21197
+ # networkAttachment` is a network attachment name. To specify this field, you
21198
+ # must have already [created a network attachment] (https://cloud.google.com/vpc/
21199
+ # docs/create-manage-network-attachments#create-network-attachments). This field
21200
+ # is only used for resources using PSC-I.
21201
+ # Corresponds to the JSON property `networkAttachment`
21202
+ # @return [String]
21203
+ attr_accessor :network_attachment
21204
+
21205
+ def initialize(**args)
21206
+ update!(**args)
21207
+ end
21208
+
21209
+ # Update properties of this object
21210
+ def update!(**args)
21211
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
21212
+ end
21213
+ end
21214
+
20808
21215
  # A Model Garden Publisher Model.
20809
21216
  class GoogleCloudAiplatformV1beta1PublisherModel
20810
21217
  include Google::Apis::Core::Hashable
@@ -21014,6 +21421,11 @@ module Google
21014
21421
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources]
21015
21422
  attr_accessor :dedicated_resources
21016
21423
 
21424
+ # Metadata information about the deployment for managing deployment config.
21425
+ # Corresponds to the JSON property `deployMetadata`
21426
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata]
21427
+ attr_accessor :deploy_metadata
21428
+
21017
21429
  # Optional. The name of the deploy task (e.g., "text to image generation").
21018
21430
  # Corresponds to the JSON property `deployTaskName`
21019
21431
  # @return [String]
@@ -21056,6 +21468,7 @@ module Google
21056
21468
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
21057
21469
  @container_spec = args[:container_spec] if args.key?(:container_spec)
21058
21470
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
21471
+ @deploy_metadata = args[:deploy_metadata] if args.key?(:deploy_metadata)
21059
21472
  @deploy_task_name = args[:deploy_task_name] if args.key?(:deploy_task_name)
21060
21473
  @large_model_reference = args[:large_model_reference] if args.key?(:large_model_reference)
21061
21474
  @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
@@ -21065,6 +21478,26 @@ module Google
21065
21478
  end
21066
21479
  end
21067
21480
 
21481
+ # Metadata information about the deployment for managing deployment config.
21482
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata
21483
+ include Google::Apis::Core::Hashable
21484
+
21485
+ # Optional. Labels for the deployment. For managing deployment config like
21486
+ # verifying, source of deployment config, etc.
21487
+ # Corresponds to the JSON property `labels`
21488
+ # @return [Hash<String,String>]
21489
+ attr_accessor :labels
21490
+
21491
+ def initialize(**args)
21492
+ update!(**args)
21493
+ end
21494
+
21495
+ # Update properties of this object
21496
+ def update!(**args)
21497
+ @labels = args[:labels] if args.key?(:labels)
21498
+ end
21499
+ end
21500
+
21068
21501
  # Configurations for PublisherModel GKE deployment
21069
21502
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
21070
21503
  include Google::Apis::Core::Hashable
@@ -22360,6 +22793,11 @@ module Google
22360
22793
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
22361
22794
  attr_accessor :google_drive_source
22362
22795
 
22796
+ # The Jira source for the ImportRagFilesRequest.
22797
+ # Corresponds to the JSON property `jiraSource`
22798
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSource]
22799
+ attr_accessor :jira_source
22800
+
22363
22801
  # Output only. The resource name of the RagFile.
22364
22802
  # Corresponds to the JSON property `name`
22365
22803
  # @return [String]
@@ -22375,6 +22813,11 @@ module Google
22375
22813
  # @return [Fixnum]
22376
22814
  attr_accessor :size_bytes
22377
22815
 
22816
+ # The Slack source for the ImportRagFilesRequest.
22817
+ # Corresponds to the JSON property `slackSource`
22818
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSource]
22819
+ attr_accessor :slack_source
22820
+
22378
22821
  # Output only. Timestamp when this RagFile was last updated.
22379
22822
  # Corresponds to the JSON property `updateTime`
22380
22823
  # @return [String]
@@ -22392,9 +22835,11 @@ module Google
22392
22835
  @display_name = args[:display_name] if args.key?(:display_name)
22393
22836
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
22394
22837
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
22838
+ @jira_source = args[:jira_source] if args.key?(:jira_source)
22395
22839
  @name = args[:name] if args.key?(:name)
22396
22840
  @rag_file_type = args[:rag_file_type] if args.key?(:rag_file_type)
22397
22841
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
22842
+ @slack_source = args[:slack_source] if args.key?(:slack_source)
22398
22843
  @update_time = args[:update_time] if args.key?(:update_time)
22399
22844
  end
22400
22845
  end
@@ -22438,11 +22883,6 @@ module Google
22438
22883
  # @return [String]
22439
22884
  attr_accessor :text
22440
22885
 
22441
- # Optional. Only return contexts with vector distance smaller than the threshold.
22442
- # Corresponds to the JSON property `vectorDistanceThreshold`
22443
- # @return [Float]
22444
- attr_accessor :vector_distance_threshold
22445
-
22446
22886
  def initialize(**args)
22447
22887
  update!(**args)
22448
22888
  end
@@ -22451,7 +22891,6 @@ module Google
22451
22891
  def update!(**args)
22452
22892
  @similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
22453
22893
  @text = args[:text] if args.key?(:text)
22454
- @vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
22455
22894
  end
22456
22895
  end
22457
22896
 
@@ -22489,6 +22928,26 @@ module Google
22489
22928
  end
22490
22929
  end
22491
22930
 
22931
+ # Configuration for the Ray OSS Logs.
22932
+ class GoogleCloudAiplatformV1beta1RayLogsSpec
22933
+ include Google::Apis::Core::Hashable
22934
+
22935
+ # Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.
22936
+ # Corresponds to the JSON property `disabled`
22937
+ # @return [Boolean]
22938
+ attr_accessor :disabled
22939
+ alias_method :disabled?, :disabled
22940
+
22941
+ def initialize(**args)
22942
+ update!(**args)
22943
+ end
22944
+
22945
+ # Update properties of this object
22946
+ def update!(**args)
22947
+ @disabled = args[:disabled] if args.key?(:disabled)
22948
+ end
22949
+ end
22950
+
22492
22951
  # Configuration for the Ray metrics.
22493
22952
  class GoogleCloudAiplatformV1beta1RayMetricSpec
22494
22953
  include Google::Apis::Core::Hashable
@@ -22532,6 +22991,11 @@ module Google
22532
22991
  # @return [String]
22533
22992
  attr_accessor :image_uri
22534
22993
 
22994
+ # Configuration for the Ray OSS Logs.
22995
+ # Corresponds to the JSON property `rayLogsSpec`
22996
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayLogsSpec]
22997
+ attr_accessor :ray_logs_spec
22998
+
22535
22999
  # Configuration for the Ray metrics.
22536
23000
  # Corresponds to the JSON property `rayMetricSpec`
22537
23001
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec]
@@ -22554,6 +23018,7 @@ module Google
22554
23018
  def update!(**args)
22555
23019
  @head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
22556
23020
  @image_uri = args[:image_uri] if args.key?(:image_uri)
23021
+ @ray_logs_spec = args[:ray_logs_spec] if args.key?(:ray_logs_spec)
22557
23022
  @ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
22558
23023
  @resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
22559
23024
  end
@@ -23277,7 +23742,12 @@ module Google
23277
23742
  attr_accessor :max_replica_count
23278
23743
 
23279
23744
  # Optional. min replicas in the node pool, must be ≤ replica_count and <
23280
- # max_replica_count or will throw error
23745
+ # max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex,
23746
+ # we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray
23747
+ # behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-
23748
+ # autoscaling.html#cluster-config-parameters). As for Persistent Resource, the
23749
+ # min_replica_count must be > 0, we added a corresponding validation inside
23750
+ # CreatePersistentResourceRequestValidator.java.
23281
23751
  # Corresponds to the JSON property `minReplicaCount`
23282
23752
  # @return [Fixnum]
23283
23753
  attr_accessor :min_replica_count
@@ -23432,9 +23902,7 @@ module Google
23432
23902
  class GoogleCloudAiplatformV1beta1Retrieval
23433
23903
  include Google::Apis::Core::Hashable
23434
23904
 
23435
- # Optional. Disable using the result from this tool in detecting grounding
23436
- # attribution. This does not affect how the result is given to the model for
23437
- # generation.
23905
+ # Optional. Deprecated. This option is no longer supported.
23438
23906
  # Corresponds to the JSON property `disableAttribution`
23439
23907
  # @return [Boolean]
23440
23908
  attr_accessor :disable_attribution
@@ -23709,7 +24177,7 @@ module Google
23709
24177
  # @return [Hash<String,Object>]
23710
24178
  attr_accessor :default_params
23711
24179
 
23712
- # Runtime configuration for Vertext AI Search extension.
24180
+ # Runtime configuration for Vertex AI Search extension.
23713
24181
  # Corresponds to the JSON property `vertexAiSearchRuntimeConfig`
23714
24182
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig]
23715
24183
  attr_accessor :vertex_ai_search_runtime_config
@@ -24364,6 +24832,11 @@ module Google
24364
24832
  attr_accessor :restart_job_on_worker_restart
24365
24833
  alias_method :restart_job_on_worker_restart?, :restart_job_on_worker_restart
24366
24834
 
24835
+ # Optional. This determines which type of scheduling strategy to use.
24836
+ # Corresponds to the JSON property `strategy`
24837
+ # @return [String]
24838
+ attr_accessor :strategy
24839
+
24367
24840
  # The maximum job running time. The default is 7 days.
24368
24841
  # Corresponds to the JSON property `timeout`
24369
24842
  # @return [String]
@@ -24377,6 +24850,7 @@ module Google
24377
24850
  def update!(**args)
24378
24851
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
24379
24852
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
24853
+ @strategy = args[:strategy] if args.key?(:strategy)
24380
24854
  @timeout = args[:timeout] if args.key?(:timeout)
24381
24855
  end
24382
24856
  end
@@ -31031,6 +31505,45 @@ module Google
31031
31505
  end
31032
31506
  end
31033
31507
 
31508
+ # Segment of the content.
31509
+ class GoogleCloudAiplatformV1beta1Segment
31510
+ include Google::Apis::Core::Hashable
31511
+
31512
+ # Output only. End index in the given Part, measured in bytes. Offset from the
31513
+ # start of the Part, exclusive, starting at zero.
31514
+ # Corresponds to the JSON property `endIndex`
31515
+ # @return [Fixnum]
31516
+ attr_accessor :end_index
31517
+
31518
+ # Output only. The index of a Part object within its parent Content object.
31519
+ # Corresponds to the JSON property `partIndex`
31520
+ # @return [Fixnum]
31521
+ attr_accessor :part_index
31522
+
31523
+ # Output only. Start index in the given Part, measured in bytes. Offset from the
31524
+ # start of the Part, inclusive, starting at zero.
31525
+ # Corresponds to the JSON property `startIndex`
31526
+ # @return [Fixnum]
31527
+ attr_accessor :start_index
31528
+
31529
+ # Output only. The text corresponding to the segment from the response.
31530
+ # Corresponds to the JSON property `text`
31531
+ # @return [String]
31532
+ attr_accessor :text
31533
+
31534
+ def initialize(**args)
31535
+ update!(**args)
31536
+ end
31537
+
31538
+ # Update properties of this object
31539
+ def update!(**args)
31540
+ @end_index = args[:end_index] if args.key?(:end_index)
31541
+ @part_index = args[:part_index] if args.key?(:part_index)
31542
+ @start_index = args[:start_index] if args.key?(:start_index)
31543
+ @text = args[:text] if args.key?(:text)
31544
+ end
31545
+ end
31546
+
31034
31547
  # Configuration for the use of custom service account to run the workloads.
31035
31548
  class GoogleCloudAiplatformV1beta1ServiceAccountSpec
31036
31549
  include Google::Apis::Core::Hashable
@@ -31092,6 +31605,81 @@ module Google
31092
31605
  end
31093
31606
  end
31094
31607
 
31608
+ # The Slack source for the ImportRagFilesRequest.
31609
+ class GoogleCloudAiplatformV1beta1SlackSource
31610
+ include Google::Apis::Core::Hashable
31611
+
31612
+ # Required. The Slack channels.
31613
+ # Corresponds to the JSON property `channels`
31614
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannels>]
31615
+ attr_accessor :channels
31616
+
31617
+ def initialize(**args)
31618
+ update!(**args)
31619
+ end
31620
+
31621
+ # Update properties of this object
31622
+ def update!(**args)
31623
+ @channels = args[:channels] if args.key?(:channels)
31624
+ end
31625
+ end
31626
+
31627
+ # SlackChannels contains the Slack channels and corresponding access token.
31628
+ class GoogleCloudAiplatformV1beta1SlackSourceSlackChannels
31629
+ include Google::Apis::Core::Hashable
31630
+
31631
+ # The API secret.
31632
+ # Corresponds to the JSON property `apiKeyConfig`
31633
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig]
31634
+ attr_accessor :api_key_config
31635
+
31636
+ # Required. The Slack channel IDs.
31637
+ # Corresponds to the JSON property `channels`
31638
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel>]
31639
+ attr_accessor :channels
31640
+
31641
+ def initialize(**args)
31642
+ update!(**args)
31643
+ end
31644
+
31645
+ # Update properties of this object
31646
+ def update!(**args)
31647
+ @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
31648
+ @channels = args[:channels] if args.key?(:channels)
31649
+ end
31650
+ end
31651
+
31652
+ # SlackChannel contains the Slack channel ID and the time range to import.
31653
+ class GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel
31654
+ include Google::Apis::Core::Hashable
31655
+
31656
+ # Required. The Slack channel ID.
31657
+ # Corresponds to the JSON property `channelId`
31658
+ # @return [String]
31659
+ attr_accessor :channel_id
31660
+
31661
+ # Optional. The ending timestamp for messages to import.
31662
+ # Corresponds to the JSON property `endTime`
31663
+ # @return [String]
31664
+ attr_accessor :end_time
31665
+
31666
+ # Optional. The starting timestamp for messages to import.
31667
+ # Corresponds to the JSON property `startTime`
31668
+ # @return [String]
31669
+ attr_accessor :start_time
31670
+
31671
+ def initialize(**args)
31672
+ update!(**args)
31673
+ end
31674
+
31675
+ # Update properties of this object
31676
+ def update!(**args)
31677
+ @channel_id = args[:channel_id] if args.key?(:channel_id)
31678
+ @end_time = args[:end_time] if args.key?(:end_time)
31679
+ @start_time = args[:start_time] if args.key?(:start_time)
31680
+ end
31681
+ end
31682
+
31095
31683
  # Config for SmoothGrad approximation of gradients. When enabled, the gradients
31096
31684
  # are approximated by averaging the gradients from noisy samples in the vicinity
31097
31685
  # of the inputs. Adding noise can help improve the computed gradients. Refer to
@@ -32866,6 +33454,11 @@ module Google
32866
33454
  # @return [Fixnum]
32867
33455
  attr_accessor :total_billable_character_count
32868
33456
 
33457
+ # Output only. Number of billable tokens in the tuning dataset.
33458
+ # Corresponds to the JSON property `totalBillableTokenCount`
33459
+ # @return [Fixnum]
33460
+ attr_accessor :total_billable_token_count
33461
+
32869
33462
  # Output only. Number of tuning characters in the tuning dataset.
32870
33463
  # Corresponds to the JSON property `totalTuningCharacterCount`
32871
33464
  # @return [Fixnum]
@@ -32908,6 +33501,7 @@ module Google
32908
33501
  # Update properties of this object
32909
33502
  def update!(**args)
32910
33503
  @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
33504
+ @total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
32911
33505
  @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
32912
33506
  @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
32913
33507
  @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
@@ -32922,6 +33516,11 @@ module Google
32922
33516
  class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution
32923
33517
  include Google::Apis::Core::Hashable
32924
33518
 
33519
+ # Output only. Sum of a given population of values that are billable.
33520
+ # Corresponds to the JSON property `billableSum`
33521
+ # @return [Fixnum]
33522
+ attr_accessor :billable_sum
33523
+
32925
33524
  # Output only. Defines the histogram bucket.
32926
33525
  # Corresponds to the JSON property `buckets`
32927
33526
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket>]
@@ -32968,6 +33567,7 @@ module Google
32968
33567
 
32969
33568
  # Update properties of this object
32970
33569
  def update!(**args)
33570
+ @billable_sum = args[:billable_sum] if args.key?(:billable_sum)
32971
33571
  @buckets = args[:buckets] if args.key?(:buckets)
32972
33572
  @max = args[:max] if args.key?(:max)
32973
33573
  @mean = args[:mean] if args.key?(:mean)
@@ -33268,6 +33868,18 @@ module Google
33268
33868
  # @return [Fixnum]
33269
33869
  attr_accessor :run_count
33270
33870
 
33871
+ # Output only. Reserved for future use.
33872
+ # Corresponds to the JSON property `satisfiesPzi`
33873
+ # @return [Boolean]
33874
+ attr_accessor :satisfies_pzi
33875
+ alias_method :satisfies_pzi?, :satisfies_pzi
33876
+
33877
+ # Output only. Reserved for future use.
33878
+ # Corresponds to the JSON property `satisfiesPzs`
33879
+ # @return [Boolean]
33880
+ attr_accessor :satisfies_pzs
33881
+ alias_method :satisfies_pzs?, :satisfies_pzs
33882
+
33271
33883
  # Output only. Timestamp when this Tensorboard was last updated.
33272
33884
  # Corresponds to the JSON property `updateTime`
33273
33885
  # @return [String]
@@ -33289,6 +33901,8 @@ module Google
33289
33901
  @labels = args[:labels] if args.key?(:labels)
33290
33902
  @name = args[:name] if args.key?(:name)
33291
33903
  @run_count = args[:run_count] if args.key?(:run_count)
33904
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
33905
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
33292
33906
  @update_time = args[:update_time] if args.key?(:update_time)
33293
33907
  end
33294
33908
  end
@@ -33772,6 +34386,11 @@ module Google
33772
34386
  class GoogleCloudAiplatformV1beta1TokensInfo
33773
34387
  include Google::Apis::Core::Hashable
33774
34388
 
34389
+ # Optional. Optional fields for the role from the corresponding Content.
34390
+ # Corresponds to the JSON property `role`
34391
+ # @return [String]
34392
+ attr_accessor :role
34393
+
33775
34394
  # A list of token ids from the input.
33776
34395
  # Corresponds to the JSON property `tokenIds`
33777
34396
  # @return [Array<Fixnum>]
@@ -33788,6 +34407,7 @@ module Google
33788
34407
 
33789
34408
  # Update properties of this object
33790
34409
  def update!(**args)
34410
+ @role = args[:role] if args.key?(:role)
33791
34411
  @token_ids = args[:token_ids] if args.key?(:token_ids)
33792
34412
  @tokens = args[:tokens] if args.key?(:tokens)
33793
34413
  end
@@ -36761,102 +37381,6 @@ module Google
36761
37381
  @units = args[:units] if args.key?(:units)
36762
37382
  end
36763
37383
  end
36764
-
36765
- #
36766
- class IntelligenceCloudAutomlXpsMetricEntry
36767
- include Google::Apis::Core::Hashable
36768
-
36769
- # For billing metrics that are using legacy sku's, set the legacy billing metric
36770
- # id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/
36771
- # argentum_metric_id" label. Otherwise leave empty.
36772
- # Corresponds to the JSON property `argentumMetricId`
36773
- # @return [String]
36774
- attr_accessor :argentum_metric_id
36775
-
36776
- # A double value.
36777
- # Corresponds to the JSON property `doubleValue`
36778
- # @return [Float]
36779
- attr_accessor :double_value
36780
-
36781
- # A signed 64-bit integer value.
36782
- # Corresponds to the JSON property `int64Value`
36783
- # @return [Fixnum]
36784
- attr_accessor :int64_value
36785
-
36786
- # The metric name defined in the service configuration.
36787
- # Corresponds to the JSON property `metricName`
36788
- # @return [String]
36789
- attr_accessor :metric_name
36790
-
36791
- # Billing system labels for this (metric, value) pair.
36792
- # Corresponds to the JSON property `systemLabels`
36793
- # @return [Array<Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntryLabel>]
36794
- attr_accessor :system_labels
36795
-
36796
- def initialize(**args)
36797
- update!(**args)
36798
- end
36799
-
36800
- # Update properties of this object
36801
- def update!(**args)
36802
- @argentum_metric_id = args[:argentum_metric_id] if args.key?(:argentum_metric_id)
36803
- @double_value = args[:double_value] if args.key?(:double_value)
36804
- @int64_value = args[:int64_value] if args.key?(:int64_value)
36805
- @metric_name = args[:metric_name] if args.key?(:metric_name)
36806
- @system_labels = args[:system_labels] if args.key?(:system_labels)
36807
- end
36808
- end
36809
-
36810
- #
36811
- class IntelligenceCloudAutomlXpsMetricEntryLabel
36812
- include Google::Apis::Core::Hashable
36813
-
36814
- # The name of the label.
36815
- # Corresponds to the JSON property `labelName`
36816
- # @return [String]
36817
- attr_accessor :label_name
36818
-
36819
- # The value of the label.
36820
- # Corresponds to the JSON property `labelValue`
36821
- # @return [String]
36822
- attr_accessor :label_value
36823
-
36824
- def initialize(**args)
36825
- update!(**args)
36826
- end
36827
-
36828
- # Update properties of this object
36829
- def update!(**args)
36830
- @label_name = args[:label_name] if args.key?(:label_name)
36831
- @label_value = args[:label_value] if args.key?(:label_value)
36832
- end
36833
- end
36834
-
36835
- #
36836
- class IntelligenceCloudAutomlXpsReportingMetrics
36837
- include Google::Apis::Core::Hashable
36838
-
36839
- # The effective time training used. If set, this is used for quota management
36840
- # and billing. Deprecated. AutoML BE doesn't use this. Don't set.
36841
- # Corresponds to the JSON property `effectiveTrainingDuration`
36842
- # @return [String]
36843
- attr_accessor :effective_training_duration
36844
-
36845
- # One entry per metric name. The values must be aggregated per metric name.
36846
- # Corresponds to the JSON property `metricEntries`
36847
- # @return [Array<Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntry>]
36848
- attr_accessor :metric_entries
36849
-
36850
- def initialize(**args)
36851
- update!(**args)
36852
- end
36853
-
36854
- # Update properties of this object
36855
- def update!(**args)
36856
- @effective_training_duration = args[:effective_training_duration] if args.key?(:effective_training_duration)
36857
- @metric_entries = args[:metric_entries] if args.key?(:metric_entries)
36858
- end
36859
- end
36860
37384
  end
36861
37385
  end
36862
37386
  end