google-apis-dataplex_v1 0.94.0 → 0.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de7ba8121d54a8c87b969923bf83f2ca70ccba7ab45949b3d78f5cf8e38e67ab
4
- data.tar.gz: 9c5f994bd32617162edaa43af35be7913d9db5c6491e655ee2883d91843766cd
3
+ metadata.gz: c9de8bc88ee5e54cc3a8bd5620b7217c42a20e8758b0c017fe4bbd7701bf1b97
4
+ data.tar.gz: c26f1b3fedaf806d6a443b5b71954e05221e941a17bc611909893ef03272593e
5
5
  SHA512:
6
- metadata.gz: bafc5b3e94e12fa07760176511fb2579b8f32731631f058f2d311ca0f0c518fd3e57336ef6c01d62cb2f5958a83deb4400741b469964146932c52718ab841e69
7
- data.tar.gz: 38a6d805892bd503931bb00fe2081fe286e5809aa31a75aced298170c4f67bb09cb646ba7d8462b11984f1ffffdb4caf343eedce7e846b36afef15ddbfcb5883
6
+ metadata.gz: 66f51d5accd28c4f2b362235184b1adca6622d01198b03284d1ac2586546e9aff4bf3cf847200ca90a48859a6a2b5f94b2aa1bef78271d2651a3a50b25ffbd7a
7
+ data.tar.gz: 206928bb4c13a8054cc47d10da35137d1e0008a3c5e96cce529b1f3b6fdfdc8979d4545a61ba2e433bdcf463838fbe4b09e49e0b132ef7489ae683f9d09e8bb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.96.0 (2026-09-24)
4
+
5
+ * Regenerated from discovery document revision 20260917
6
+
7
+ ### v0.95.0 (2026-08-30)
8
+
9
+ * Regenerated from discovery document revision 20260823
10
+
3
11
  ### v0.94.0 (2026-08-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20260804
@@ -2534,6 +2534,11 @@ module Google
2534
2534
  # @return [String]
2535
2535
  attr_accessor :sql
2536
2536
 
2537
+ # Output only. The SQL dialect of the query.
2538
+ # Corresponds to the JSON property `sqlDialect`
2539
+ # @return [String]
2540
+ attr_accessor :sql_dialect
2541
+
2537
2542
  def initialize(**args)
2538
2543
  update!(**args)
2539
2544
  end
@@ -2542,6 +2547,7 @@ module Google
2542
2547
  def update!(**args)
2543
2548
  @description = args[:description] if args.key?(:description)
2544
2549
  @sql = args[:sql] if args.key?(:sql)
2550
+ @sql_dialect = args[:sql_dialect] if args.key?(:sql_dialect)
2545
2551
  end
2546
2552
  end
2547
2553
 
@@ -2688,6 +2694,12 @@ module Google
2688
2694
  # @return [Array<String>]
2689
2695
  attr_accessor :generation_scopes
2690
2696
 
2697
+ # Optional. The SQL dialect to use in the generated SQL queries. If not
2698
+ # specified, the default dialect is Google SQL.
2699
+ # Corresponds to the JSON property `sqlDialect`
2700
+ # @return [String]
2701
+ attr_accessor :sql_dialect
2702
+
2691
2703
  def initialize(**args)
2692
2704
  update!(**args)
2693
2705
  end
@@ -2696,6 +2708,7 @@ module Google
2696
2708
  def update!(**args)
2697
2709
  @catalog_publishing_enabled = args[:catalog_publishing_enabled] if args.key?(:catalog_publishing_enabled)
2698
2710
  @generation_scopes = args[:generation_scopes] if args.key?(:generation_scopes)
2711
+ @sql_dialect = args[:sql_dialect] if args.key?(:sql_dialect)
2699
2712
  end
2700
2713
  end
2701
2714
 
@@ -5235,6 +5248,11 @@ module Google
5235
5248
  # @return [String]
5236
5249
  attr_accessor :create_time
5237
5250
 
5251
+ # Data documentation result for data scan job.
5252
+ # Corresponds to the JSON property `dataDocumentation`
5253
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResult]
5254
+ attr_accessor :data_documentation
5255
+
5238
5256
  # Data profile result for data scan job.
5239
5257
  # Corresponds to the JSON property `dataProfile`
5240
5258
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult]
@@ -5318,6 +5336,7 @@ module Google
5318
5336
  def update!(**args)
5319
5337
  @catalog_publishing_status = args[:catalog_publishing_status] if args.key?(:catalog_publishing_status)
5320
5338
  @create_time = args[:create_time] if args.key?(:create_time)
5339
+ @data_documentation = args[:data_documentation] if args.key?(:data_documentation)
5321
5340
  @data_profile = args[:data_profile] if args.key?(:data_profile)
5322
5341
  @data_profile_configs = args[:data_profile_configs] if args.key?(:data_profile_configs)
5323
5342
  @data_quality = args[:data_quality] if args.key?(:data_quality)
@@ -5336,6 +5355,87 @@ module Google
5336
5355
  end
5337
5356
  end
5338
5357
 
5358
+ # Data documentation result for data scan job.
5359
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResult
5360
+ include Google::Apis::Core::Hashable
5361
+
5362
+ # Captures structured token usage breakdown for LLM-powered scans.
5363
+ # Corresponds to the JSON property `billableTokenUsage`
5364
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage]
5365
+ attr_accessor :billable_token_usage
5366
+
5367
+ def initialize(**args)
5368
+ update!(**args)
5369
+ end
5370
+
5371
+ # Update properties of this object
5372
+ def update!(**args)
5373
+ @billable_token_usage = args[:billable_token_usage] if args.key?(:billable_token_usage)
5374
+ end
5375
+ end
5376
+
5377
+ # Captures structured token usage breakdown for LLM-powered scans.
5378
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage
5379
+ include Google::Apis::Core::Hashable
5380
+
5381
+ # Billable cached content tokens (billed at discounted prompt caching SKU).
5382
+ # Corresponds to the JSON property `cachedContentTokenCount`
5383
+ # @return [Fixnum]
5384
+ attr_accessor :cached_content_token_count
5385
+
5386
+ # Generated candidate response tokens.
5387
+ # Corresponds to the JSON property `candidatesTokenCount`
5388
+ # @return [Fixnum]
5389
+ attr_accessor :candidates_token_count
5390
+
5391
+ # Billable non-cached input tokens.
5392
+ # Corresponds to the JSON property `inputTokenCount`
5393
+ # @return [Fixnum]
5394
+ attr_accessor :input_token_count
5395
+
5396
+ # Billable output tokens (candidates + thoughts).
5397
+ # Corresponds to the JSON property `outputTokenCount`
5398
+ # @return [Fixnum]
5399
+ attr_accessor :output_token_count
5400
+
5401
+ # Base prompt and system instructions tokens.
5402
+ # Corresponds to the JSON property `promptTokenCount`
5403
+ # @return [Fixnum]
5404
+ attr_accessor :prompt_token_count
5405
+
5406
+ # Reasoning / Chain-of-Thought tokens.
5407
+ # Corresponds to the JSON property `thoughtsTokenCount`
5408
+ # @return [Fixnum]
5409
+ attr_accessor :thoughts_token_count
5410
+
5411
+ # Tool use context tokens (schema, profile, query history).
5412
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
5413
+ # @return [Fixnum]
5414
+ attr_accessor :tool_use_prompt_token_count
5415
+
5416
+ # Total billable tokens (billable_input + billable_cached + billable_output).
5417
+ # Evaluates to 0 for failed or cancelled jobs.
5418
+ # Corresponds to the JSON property `totalTokenCount`
5419
+ # @return [Fixnum]
5420
+ attr_accessor :total_token_count
5421
+
5422
+ def initialize(**args)
5423
+ update!(**args)
5424
+ end
5425
+
5426
+ # Update properties of this object
5427
+ def update!(**args)
5428
+ @cached_content_token_count = args[:cached_content_token_count] if args.key?(:cached_content_token_count)
5429
+ @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
5430
+ @input_token_count = args[:input_token_count] if args.key?(:input_token_count)
5431
+ @output_token_count = args[:output_token_count] if args.key?(:output_token_count)
5432
+ @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
5433
+ @thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count)
5434
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
5435
+ @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
5436
+ end
5437
+ end
5438
+
5339
5439
  # Applied configs for data profile type data scan job.
5340
5440
  class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
5341
5441
  include Google::Apis::Core::Hashable
@@ -5375,6 +5475,11 @@ module Google
5375
5475
  class GoogleCloudDataplexV1DataScanEventDataProfileResult
5376
5476
  include Google::Apis::Core::Hashable
5377
5477
 
5478
+ # Dataplex Compute Units (DCUs) used in the data scan job.
5479
+ # Corresponds to the JSON property `dcuConsumed`
5480
+ # @return [Float]
5481
+ attr_accessor :dcu_consumed
5482
+
5378
5483
  # The count of rows processed in the data scan job.
5379
5484
  # Corresponds to the JSON property `rowCount`
5380
5485
  # @return [Fixnum]
@@ -5386,6 +5491,7 @@ module Google
5386
5491
 
5387
5492
  # Update properties of this object
5388
5493
  def update!(**args)
5494
+ @dcu_consumed = args[:dcu_consumed] if args.key?(:dcu_consumed)
5389
5495
  @row_count = args[:row_count] if args.key?(:row_count)
5390
5496
  end
5391
5497
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataplexV1
18
18
  # Version of the google-apis-dataplex_v1 gem
19
- GEM_VERSION = "0.94.0"
19
+ GEM_VERSION = "0.96.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260804"
25
+ REVISION = "20260917"
26
26
  end
27
27
  end
28
28
  end
@@ -796,6 +796,18 @@ module Google
796
796
  include Google::Apis::Core::JsonObjectSupport
797
797
  end
798
798
 
799
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResult
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
799
811
  class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
800
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
813
 
@@ -2502,6 +2514,7 @@ module Google
2502
2514
  class Representation < Google::Apis::Core::JsonRepresentation
2503
2515
  property :description, as: 'description'
2504
2516
  property :sql, as: 'sql'
2517
+ property :sql_dialect, as: 'sqlDialect'
2505
2518
  end
2506
2519
  end
2507
2520
 
@@ -2550,6 +2563,7 @@ module Google
2550
2563
  class Representation < Google::Apis::Core::JsonRepresentation
2551
2564
  property :catalog_publishing_enabled, as: 'catalogPublishingEnabled'
2552
2565
  collection :generation_scopes, as: 'generationScopes'
2566
+ property :sql_dialect, as: 'sqlDialect'
2553
2567
  end
2554
2568
  end
2555
2569
 
@@ -3236,6 +3250,8 @@ module Google
3236
3250
  property :catalog_publishing_status, as: 'catalogPublishingStatus', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanCatalogPublishingStatus, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanCatalogPublishingStatus::Representation
3237
3251
 
3238
3252
  property :create_time, as: 'createTime'
3253
+ property :data_documentation, as: 'dataDocumentation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResult::Representation
3254
+
3239
3255
  property :data_profile, as: 'dataProfile', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult::Representation
3240
3256
 
3241
3257
  property :data_profile_configs, as: 'dataProfileConfigs', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs::Representation
@@ -3259,6 +3275,28 @@ module Google
3259
3275
  end
3260
3276
  end
3261
3277
 
3278
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResult
3279
+ # @private
3280
+ class Representation < Google::Apis::Core::JsonRepresentation
3281
+ property :billable_token_usage, as: 'billableTokenUsage', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage::Representation
3282
+
3283
+ end
3284
+ end
3285
+
3286
+ class GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage
3287
+ # @private
3288
+ class Representation < Google::Apis::Core::JsonRepresentation
3289
+ property :cached_content_token_count, :numeric_string => true, as: 'cachedContentTokenCount'
3290
+ property :candidates_token_count, :numeric_string => true, as: 'candidatesTokenCount'
3291
+ property :input_token_count, :numeric_string => true, as: 'inputTokenCount'
3292
+ property :output_token_count, :numeric_string => true, as: 'outputTokenCount'
3293
+ property :prompt_token_count, :numeric_string => true, as: 'promptTokenCount'
3294
+ property :thoughts_token_count, :numeric_string => true, as: 'thoughtsTokenCount'
3295
+ property :tool_use_prompt_token_count, :numeric_string => true, as: 'toolUsePromptTokenCount'
3296
+ property :total_token_count, :numeric_string => true, as: 'totalTokenCount'
3297
+ end
3298
+ end
3299
+
3262
3300
  class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
3263
3301
  # @private
3264
3302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3271,6 +3309,7 @@ module Google
3271
3309
  class GoogleCloudDataplexV1DataScanEventDataProfileResult
3272
3310
  # @private
3273
3311
  class Representation < Google::Apis::Core::JsonRepresentation
3312
+ property :dcu_consumed, as: 'dcuConsumed'
3274
3313
  property :row_count, :numeric_string => true, as: 'rowCount'
3275
3314
  end
3276
3315
  end
@@ -782,6 +782,10 @@ module Google
782
782
  # @param [String] name
783
783
  # Required. The project to which the request should be attributed in the
784
784
  # following form: projects/`project`/locations/global.
785
+ # @param [Array<String>, String] contexts
786
+ # Optional. Specifies the scope of the context in which the search will be
787
+ # performed. This scope will also be used to perform IAM checks, which if
788
+ # passing, will return all resources in the scope.
785
789
  # @param [String] order_by
786
790
  # Optional. Specifies the ordering of results. Supported values are: relevance
787
791
  # last_modified_timestamp last_modified_timestamp asc
@@ -820,11 +824,12 @@ module Google
820
824
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
825
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
826
  # @raise [Google::Apis::AuthorizationError] Authorization is required
823
- def search_project_location_entries(name, order_by: nil, page_size: nil, page_token: nil, query: nil, scope: nil, semantic_search: nil, fields: nil, quota_user: nil, options: nil, &block)
827
+ def search_project_location_entries(name, contexts: nil, order_by: nil, page_size: nil, page_token: nil, query: nil, scope: nil, semantic_search: nil, fields: nil, quota_user: nil, options: nil, &block)
824
828
  command = make_simple_command(:post, 'v1/{+name}:searchEntries', options)
825
829
  command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResponse::Representation
826
830
  command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResponse
827
831
  command.params['name'] = name unless name.nil?
832
+ command.query['contexts'] = contexts unless contexts.nil?
828
833
  command.query['orderBy'] = order_by unless order_by.nil?
829
834
  command.query['pageSize'] = page_size unless page_size.nil?
830
835
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -8249,7 +8254,7 @@ module Google
8249
8254
  # Deletes a MetadataFeed.
8250
8255
  # @param [String] name
8251
8256
  # Required. The resource name of the metadata feed, in the format projects/`
8252
- # project_id_or_number`/locations/`location_id`/MetadataFeeds/`metadata_feed_id`.
8257
+ # project_id_or_number`/locations/`location_id`/metadataFeeds/`metadata_feed_id`.
8253
8258
  # @param [String] fields
8254
8259
  # Selector specifying which fields to include in a partial response.
8255
8260
  # @param [String] quota_user
@@ -8280,7 +8285,7 @@ module Google
8280
8285
  # Gets a MetadataFeed.
8281
8286
  # @param [String] name
8282
8287
  # Required. The resource name of the metadata feed, in the format projects/`
8283
- # project_id_or_number`/locations/`location_id`/MetadataFeeds/`metadata_feed_id`.
8288
+ # project_id_or_number`/locations/`location_id`/metadataFeeds/`metadata_feed_id`.
8284
8289
  # @param [String] fields
8285
8290
  # Selector specifying which fields to include in a partial response.
8286
8291
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataplex_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.0
4
+ version: 0.96.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.94.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.96.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
62
62
  rdoc_options: []
63
63
  require_paths: