google-apis-discoveryengine_v1alpha 0.78.0 → 0.80.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.78.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250924"
25
+ REVISION = "20251017"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,12 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class GoogleCloudDiscoveryengineV1LicenseConfig
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
775
781
  class GoogleCloudDiscoveryengineV1Project
776
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
783
 
@@ -1102,6 +1108,18 @@ module Google
1102
1108
  include Google::Apis::Core::JsonObjectSupport
1103
1109
  end
1104
1110
 
1111
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1117
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1105
1123
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
1106
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1107
1125
 
@@ -1714,6 +1732,12 @@ module Google
1714
1732
  include Google::Apis::Core::JsonObjectSupport
1715
1733
  end
1716
1734
 
1735
+ class GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse
1736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1717
1741
  class GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
1718
1742
  class Representation < Google::Apis::Core::JsonRepresentation; end
1719
1743
 
@@ -1768,6 +1792,18 @@ module Google
1768
1792
  include Google::Apis::Core::JsonObjectSupport
1769
1793
  end
1770
1794
 
1795
+ class GoogleCloudDiscoveryengineV1alphaCitation
1796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1797
+
1798
+ include Google::Apis::Core::JsonObjectSupport
1799
+ end
1800
+
1801
+ class GoogleCloudDiscoveryengineV1alphaCitationMetadata
1802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1771
1807
  class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
1772
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1773
1809
 
@@ -1828,6 +1864,24 @@ module Google
1828
1864
  include Google::Apis::Core::JsonObjectSupport
1829
1865
  end
1830
1866
 
1867
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats
1868
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1869
+
1870
+ include Google::Apis::Core::JsonObjectSupport
1871
+ end
1872
+
1873
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage
1874
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1875
+
1876
+ include Google::Apis::Core::JsonObjectSupport
1877
+ end
1878
+
1879
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1831
1885
  class GoogleCloudDiscoveryengineV1alphaConnectorRun
1832
1886
  class Representation < Google::Apis::Core::JsonRepresentation; end
1833
1887
 
@@ -1846,6 +1900,12 @@ module Google
1846
1900
  include Google::Apis::Core::JsonObjectSupport
1847
1901
  end
1848
1902
 
1903
+ class GoogleCloudDiscoveryengineV1alphaContactDetails
1904
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1905
+
1906
+ include Google::Apis::Core::JsonObjectSupport
1907
+ end
1908
+
1849
1909
  class GoogleCloudDiscoveryengineV1alphaControl
1850
1910
  class Representation < Google::Apis::Core::JsonRepresentation; end
1851
1911
 
@@ -2692,6 +2752,12 @@ module Google
2692
2752
  include Google::Apis::Core::JsonObjectSupport
2693
2753
  end
2694
2754
 
2755
+ class GoogleCloudDiscoveryengineV1alphaLicenseConfig
2756
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2757
+
2758
+ include Google::Apis::Core::JsonObjectSupport
2759
+ end
2760
+
2695
2761
  class GoogleCloudDiscoveryengineV1alphaListBranchesResponse
2696
2762
  class Representation < Google::Apis::Core::JsonRepresentation; end
2697
2763
 
@@ -4036,6 +4102,12 @@ module Google
4036
4102
  include Google::Apis::Core::JsonObjectSupport
4037
4103
  end
4038
4104
 
4105
+ class GoogleCloudDiscoveryengineV1alphaWorkspaceSettings
4106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4107
+
4108
+ include Google::Apis::Core::JsonObjectSupport
4109
+ end
4110
+
4039
4111
  class GoogleCloudDiscoveryengineV1betaAclConfig
4040
4112
  class Representation < Google::Apis::Core::JsonRepresentation; end
4041
4113
 
@@ -4504,6 +4576,12 @@ module Google
4504
4576
  include Google::Apis::Core::JsonObjectSupport
4505
4577
  end
4506
4578
 
4579
+ class GoogleCloudDiscoveryengineV1betaLicenseConfig
4580
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4581
+
4582
+ include Google::Apis::Core::JsonObjectSupport
4583
+ end
4584
+
4507
4585
  class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
4508
4586
  class Representation < Google::Apis::Core::JsonRepresentation; end
4509
4587
 
@@ -6568,6 +6646,24 @@ module Google
6568
6646
  end
6569
6647
  end
6570
6648
 
6649
+ class GoogleCloudDiscoveryengineV1LicenseConfig
6650
+ # @private
6651
+ class Representation < Google::Apis::Core::JsonRepresentation
6652
+ property :auto_renew, as: 'autoRenew'
6653
+ property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
6654
+
6655
+ property :free_trial, as: 'freeTrial'
6656
+ property :gemini_bundle, as: 'geminiBundle'
6657
+ property :license_count, :numeric_string => true, as: 'licenseCount'
6658
+ property :name, as: 'name'
6659
+ property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
6660
+
6661
+ property :state, as: 'state'
6662
+ property :subscription_term, as: 'subscriptionTerm'
6663
+ property :subscription_tier, as: 'subscriptionTier'
6664
+ end
6665
+ end
6666
+
6571
6667
  class GoogleCloudDiscoveryengineV1Project
6572
6668
  # @private
6573
6669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7123,6 +7219,27 @@ module Google
7123
7219
  end
7124
7220
  end
7125
7221
 
7222
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
7223
+ # @private
7224
+ class Representation < Google::Apis::Core::JsonRepresentation
7225
+ collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment::Representation
7226
+
7227
+ property :alert_policy, as: 'alertPolicy'
7228
+ collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaContactDetails, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaContactDetails::Representation
7229
+
7230
+ property :language_code, as: 'languageCode'
7231
+ end
7232
+ end
7233
+
7234
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
7235
+ # @private
7236
+ class Representation < Google::Apis::Core::JsonRepresentation
7237
+ property :alert_id, as: 'alertId'
7238
+ property :enroll_state, as: 'enrollState'
7239
+ hash :notification_params, as: 'notificationParams'
7240
+ end
7241
+ end
7242
+
7126
7243
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
7127
7244
  # @private
7128
7245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7833,6 +7950,8 @@ module Google
7833
7950
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
7834
7951
  # @private
7835
7952
  class Representation < Google::Apis::Core::JsonRepresentation
7953
+ property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitationMetadata::Representation
7954
+
7836
7955
  property :content, as: 'content', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent::Representation
7837
7956
 
7838
7957
  property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata::Representation
@@ -8134,6 +8253,14 @@ module Google
8134
8253
  end
8135
8254
  end
8136
8255
 
8256
+ class GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse
8257
+ # @private
8258
+ class Representation < Google::Apis::Core::JsonRepresentation
8259
+ property :refresh_token_info, as: 'refreshTokenInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo::Representation
8260
+
8261
+ end
8262
+ end
8263
+
8137
8264
  class GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
8138
8265
  # @private
8139
8266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8235,6 +8362,27 @@ module Google
8235
8362
  end
8236
8363
  end
8237
8364
 
8365
+ class GoogleCloudDiscoveryengineV1alphaCitation
8366
+ # @private
8367
+ class Representation < Google::Apis::Core::JsonRepresentation
8368
+ property :end_index, as: 'endIndex'
8369
+ property :license, as: 'license'
8370
+ property :publication_date, as: 'publicationDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
8371
+
8372
+ property :start_index, as: 'startIndex'
8373
+ property :title, as: 'title'
8374
+ property :uri, as: 'uri'
8375
+ end
8376
+ end
8377
+
8378
+ class GoogleCloudDiscoveryengineV1alphaCitationMetadata
8379
+ # @private
8380
+ class Representation < Google::Apis::Core::JsonRepresentation
8381
+ collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitation::Representation
8382
+
8383
+ end
8384
+ end
8385
+
8238
8386
  class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
8239
8387
  # @private
8240
8388
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8338,6 +8486,34 @@ module Google
8338
8486
  end
8339
8487
  end
8340
8488
 
8489
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats
8490
+ # @private
8491
+ class Representation < Google::Apis::Core::JsonRepresentation
8492
+ collection :metric_usages, as: 'metricUsages', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage::Representation
8493
+
8494
+ property :name, as: 'name'
8495
+ end
8496
+ end
8497
+
8498
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage
8499
+ # @private
8500
+ class Representation < Google::Apis::Core::JsonRepresentation
8501
+ property :date, as: 'date', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
8502
+
8503
+ property :usage, as: 'usage'
8504
+ end
8505
+ end
8506
+
8507
+ class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage
8508
+ # @private
8509
+ class Representation < Google::Apis::Core::JsonRepresentation
8510
+ collection :dated_usages, as: 'datedUsages', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage::Representation
8511
+
8512
+ property :metric_type, as: 'metricType'
8513
+ collection :total_usages, as: 'totalUsages'
8514
+ end
8515
+ end
8516
+
8341
8517
  class GoogleCloudDiscoveryengineV1alphaConnectorRun
8342
8518
  # @private
8343
8519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8385,6 +8561,13 @@ module Google
8385
8561
  end
8386
8562
  end
8387
8563
 
8564
+ class GoogleCloudDiscoveryengineV1alphaContactDetails
8565
+ # @private
8566
+ class Representation < Google::Apis::Core::JsonRepresentation
8567
+ property :email_address, as: 'emailAddress'
8568
+ end
8569
+ end
8570
+
8388
8571
  class GoogleCloudDiscoveryengineV1alphaControl
8389
8572
  # @private
8390
8573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9854,6 +10037,26 @@ module Google
9854
10037
  end
9855
10038
  end
9856
10039
 
10040
+ class GoogleCloudDiscoveryengineV1alphaLicenseConfig
10041
+ # @private
10042
+ class Representation < Google::Apis::Core::JsonRepresentation
10043
+ property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig::Representation
10044
+
10045
+ property :auto_renew, as: 'autoRenew'
10046
+ property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
10047
+
10048
+ property :free_trial, as: 'freeTrial'
10049
+ property :gemini_bundle, as: 'geminiBundle'
10050
+ property :license_count, :numeric_string => true, as: 'licenseCount'
10051
+ property :name, as: 'name'
10052
+ property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
10053
+
10054
+ property :state, as: 'state'
10055
+ property :subscription_term, as: 'subscriptionTerm'
10056
+ property :subscription_tier, as: 'subscriptionTier'
10057
+ end
10058
+ end
10059
+
9857
10060
  class GoogleCloudDiscoveryengineV1alphaListBranchesResponse
9858
10061
  # @private
9859
10062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11452,6 +11655,7 @@ module Google
11452
11655
  property :display_name, as: 'displayName'
11453
11656
  property :end_time, as: 'endTime'
11454
11657
  property :is_pinned, as: 'isPinned'
11658
+ collection :labels, as: 'labels'
11455
11659
  property :name, as: 'name'
11456
11660
  property :start_time, as: 'startTime'
11457
11661
  property :state, as: 'state'
@@ -11467,6 +11671,8 @@ module Google
11467
11671
  property :answer, as: 'answer'
11468
11672
  property :detailed_answer, as: 'detailedAnswer', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswer, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswer::Representation
11469
11673
 
11674
+ property :detailed_assist_answer, as: 'detailedAssistAnswer', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistAnswer::Representation
11675
+
11470
11676
  property :query, as: 'query', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery::Representation
11471
11677
 
11472
11678
  hash :query_config, as: 'queryConfig'
@@ -12158,6 +12364,13 @@ module Google
12158
12364
  end
12159
12365
  end
12160
12366
 
12367
+ class GoogleCloudDiscoveryengineV1alphaWorkspaceSettings
12368
+ # @private
12369
+ class Representation < Google::Apis::Core::JsonRepresentation
12370
+ property :workspace_access_enabled, as: 'workspaceAccessEnabled'
12371
+ end
12372
+ end
12373
+
12161
12374
  class GoogleCloudDiscoveryengineV1betaAclConfig
12162
12375
  # @private
12163
12376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12926,6 +13139,24 @@ module Google
12926
13139
  end
12927
13140
  end
12928
13141
 
13142
+ class GoogleCloudDiscoveryengineV1betaLicenseConfig
13143
+ # @private
13144
+ class Representation < Google::Apis::Core::JsonRepresentation
13145
+ property :auto_renew, as: 'autoRenew'
13146
+ property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
13147
+
13148
+ property :free_trial, as: 'freeTrial'
13149
+ property :gemini_bundle, as: 'geminiBundle'
13150
+ property :license_count, :numeric_string => true, as: 'licenseCount'
13151
+ property :name, as: 'name'
13152
+ property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
13153
+
13154
+ property :state, as: 'state'
13155
+ property :subscription_term, as: 'subscriptionTerm'
13156
+ property :subscription_tier, as: 'subscriptionTier'
13157
+ end
13158
+ end
13159
+
12929
13160
  class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
12930
13161
  # @private
12931
13162
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -338,6 +338,64 @@ module Google
338
338
  execute_or_queue_command(command, &block)
339
339
  end
340
340
 
341
+ # Gets configurable pricing usage stats.
342
+ # @param [String] name
343
+ # Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
344
+ # projects/`project`/locations/`location`/configurablePricingUsageStats
345
+ # @param [Array<String>, String] metric_types
346
+ # Optional. The metric types to return usage for.
347
+ # @param [Fixnum] time_range_end_date_day
348
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
349
+ # specify a year by itself or a year and month where the day isn't significant.
350
+ # @param [Fixnum] time_range_end_date_month
351
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
352
+ # and day.
353
+ # @param [Fixnum] time_range_end_date_year
354
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
355
+ # year.
356
+ # @param [Fixnum] time_range_start_date_day
357
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
358
+ # specify a year by itself or a year and month where the day isn't significant.
359
+ # @param [Fixnum] time_range_start_date_month
360
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
361
+ # and day.
362
+ # @param [Fixnum] time_range_start_date_year
363
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
364
+ # year.
365
+ # @param [String] fields
366
+ # Selector specifying which fields to include in a partial response.
367
+ # @param [String] quota_user
368
+ # Available to use for quota purposes for server-side applications. Can be any
369
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
370
+ # @param [Google::Apis::RequestOptions] options
371
+ # Request-specific options
372
+ #
373
+ # @yield [result, err] Result & error if block supplied
374
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats] parsed result object
375
+ # @yieldparam err [StandardError] error object if request failed
376
+ #
377
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats]
378
+ #
379
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
380
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
381
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
382
+ def get_project_location_configurable_pricing_usage_stats(name, metric_types: nil, time_range_end_date_day: nil, time_range_end_date_month: nil, time_range_end_date_year: nil, time_range_start_date_day: nil, time_range_start_date_month: nil, time_range_start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
383
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
384
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats::Representation
385
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats
386
+ command.params['name'] = name unless name.nil?
387
+ command.query['metricTypes'] = metric_types unless metric_types.nil?
388
+ command.query['timeRange.endDate.day'] = time_range_end_date_day unless time_range_end_date_day.nil?
389
+ command.query['timeRange.endDate.month'] = time_range_end_date_month unless time_range_end_date_month.nil?
390
+ command.query['timeRange.endDate.year'] = time_range_end_date_year unless time_range_end_date_year.nil?
391
+ command.query['timeRange.startDate.day'] = time_range_start_date_day unless time_range_start_date_day.nil?
392
+ command.query['timeRange.startDate.month'] = time_range_start_date_month unless time_range_start_date_month.nil?
393
+ command.query['timeRange.startDate.year'] = time_range_start_date_year unless time_range_start_date_year.nil?
394
+ command.query['fields'] = fields unless fields.nil?
395
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
396
+ execute_or_queue_command(command, &block)
397
+ end
398
+
341
399
  # Obtains the time series data of organic or dedicated crawl rate for monitoring.
342
400
  # When dedicated crawl rate is not set, it will return vertex AI's organic
343
401
  # crawl rate time series. Organic crawl means Google automatically crawl the
@@ -1015,6 +1073,40 @@ module Google
1015
1073
  execute_or_queue_command(command, &block)
1016
1074
  end
1017
1075
 
1076
+ # Deprecated: Checks the existence of a refresh token for the EUC user for a
1077
+ # given connection and returns its details. Use AcquireAccessToken instead and
1078
+ # then check the validity of the returned token by asking the 3rd party system.
1079
+ # There's no way to know for sure if a refresh token is valid without asking the
1080
+ # 3rd party system.
1081
+ # @param [String] name
1082
+ # Required. The resource name of the connector for which a token is queried.
1083
+ # @param [String] fields
1084
+ # Selector specifying which fields to include in a partial response.
1085
+ # @param [String] quota_user
1086
+ # Available to use for quota purposes for server-side applications. Can be any
1087
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1088
+ # @param [Google::Apis::RequestOptions] options
1089
+ # Request-specific options
1090
+ #
1091
+ # @yield [result, err] Result & error if block supplied
1092
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse] parsed result object
1093
+ # @yieldparam err [StandardError] error object if request failed
1094
+ #
1095
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse]
1096
+ #
1097
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1098
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1099
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1100
+ def check_project_location_collection_data_connector_refresh_token(name, fields: nil, quota_user: nil, options: nil, &block)
1101
+ command = make_simple_command(:get, 'v1alpha/{+name}:checkRefreshToken', options)
1102
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse::Representation
1103
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse
1104
+ command.params['name'] = name unless name.nil?
1105
+ command.query['fields'] = fields unless fields.nil?
1106
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1107
+ execute_or_queue_command(command, &block)
1108
+ end
1109
+
1018
1110
  # Get the secret for the associated connector.
1019
1111
  # @param [String] name
1020
1112
  # Required. The full resource name of the associated data connector.
@@ -4910,6 +5002,37 @@ module Google
4910
5002
  execute_or_queue_command(command, &block)
4911
5003
  end
4912
5004
 
5005
+ # Get Workspace settings for the end user.
5006
+ # @param [String] name
5007
+ # Required. Full Engine resource name. Format: `projects/`project`/locations/`
5008
+ # location`/collections/`collection_id`/engines/`engine_id``
5009
+ # @param [String] fields
5010
+ # Selector specifying which fields to include in a partial response.
5011
+ # @param [String] quota_user
5012
+ # Available to use for quota purposes for server-side applications. Can be any
5013
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5014
+ # @param [Google::Apis::RequestOptions] options
5015
+ # Request-specific options
5016
+ #
5017
+ # @yield [result, err] Result & error if block supplied
5018
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWorkspaceSettings] parsed result object
5019
+ # @yieldparam err [StandardError] error object if request failed
5020
+ #
5021
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWorkspaceSettings]
5022
+ #
5023
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5024
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5025
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5026
+ def get_project_location_collection_engine_workspace_settings(name, fields: nil, quota_user: nil, options: nil, &block)
5027
+ command = make_simple_command(:get, 'v1alpha/{+name}:getWorkspaceSettings', options)
5028
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWorkspaceSettings::Representation
5029
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWorkspaceSettings
5030
+ command.params['name'] = name unless name.nil?
5031
+ command.query['fields'] = fields unless fields.nil?
5032
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5033
+ execute_or_queue_command(command, &block)
5034
+ end
5035
+
4913
5036
  # Lists all the Engines associated with the project.
4914
5037
  # @param [String] parent
4915
5038
  # Required. The parent resource name, such as `projects/`project`/locations/`
@@ -10263,6 +10386,120 @@ module Google
10263
10386
  execute_or_queue_command(command, &block)
10264
10387
  end
10265
10388
 
10389
+ # Creates a LicenseConfig
10390
+ # @param [String] parent
10391
+ # Required. The parent resource name, such as `projects/`project`/locations/`
10392
+ # location``.
10393
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig] google_cloud_discoveryengine_v1alpha_license_config_object
10394
+ # @param [String] license_config_id
10395
+ # Optional. The ID to use for the LicenseConfig, which will become the final
10396
+ # component of the LicenseConfig's resource name. We are using the tier (product
10397
+ # edition) name as the license config id such as `search` or `
10398
+ # search_and_assistant`.
10399
+ # @param [String] fields
10400
+ # Selector specifying which fields to include in a partial response.
10401
+ # @param [String] quota_user
10402
+ # Available to use for quota purposes for server-side applications. Can be any
10403
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10404
+ # @param [Google::Apis::RequestOptions] options
10405
+ # Request-specific options
10406
+ #
10407
+ # @yield [result, err] Result & error if block supplied
10408
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig] parsed result object
10409
+ # @yieldparam err [StandardError] error object if request failed
10410
+ #
10411
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig]
10412
+ #
10413
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10414
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10415
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10416
+ def create_project_location_license_config(parent, google_cloud_discoveryengine_v1alpha_license_config_object = nil, license_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
10417
+ command = make_simple_command(:post, 'v1alpha/{+parent}/licenseConfigs', options)
10418
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig::Representation
10419
+ command.request_object = google_cloud_discoveryengine_v1alpha_license_config_object
10420
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig::Representation
10421
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig
10422
+ command.params['parent'] = parent unless parent.nil?
10423
+ command.query['licenseConfigId'] = license_config_id unless license_config_id.nil?
10424
+ command.query['fields'] = fields unless fields.nil?
10425
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10426
+ execute_or_queue_command(command, &block)
10427
+ end
10428
+
10429
+ # Gets a LicenseConfig.
10430
+ # @param [String] name
10431
+ # Required. Full resource name of LicenseConfig, such as `projects/`project`/
10432
+ # locations/`location`/licenseConfigs/*`. If the caller does not have permission
10433
+ # to access the LicenseConfig, regardless of whether or not it exists, a
10434
+ # PERMISSION_DENIED error is returned. If the requested LicenseConfig does not
10435
+ # exist, a NOT_FOUND error is returned.
10436
+ # @param [String] fields
10437
+ # Selector specifying which fields to include in a partial response.
10438
+ # @param [String] quota_user
10439
+ # Available to use for quota purposes for server-side applications. Can be any
10440
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10441
+ # @param [Google::Apis::RequestOptions] options
10442
+ # Request-specific options
10443
+ #
10444
+ # @yield [result, err] Result & error if block supplied
10445
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig] parsed result object
10446
+ # @yieldparam err [StandardError] error object if request failed
10447
+ #
10448
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig]
10449
+ #
10450
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10451
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10452
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10453
+ def get_project_location_license_config(name, fields: nil, quota_user: nil, options: nil, &block)
10454
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
10455
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig::Representation
10456
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig
10457
+ command.params['name'] = name unless name.nil?
10458
+ command.query['fields'] = fields unless fields.nil?
10459
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10460
+ execute_or_queue_command(command, &block)
10461
+ end
10462
+
10463
+ # Updates the LicenseConfig
10464
+ # @param [String] name
10465
+ # Immutable. Identifier. The fully qualified resource name of the license config.
10466
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
10467
+ # license_config``
10468
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig] google_cloud_discoveryengine_v1alpha_license_config_object
10469
+ # @param [String] update_mask
10470
+ # Optional. Indicates which fields in the provided LicenseConfig to update. If
10471
+ # an unsupported or unknown field is provided, an INVALID_ARGUMENT error is
10472
+ # returned.
10473
+ # @param [String] fields
10474
+ # Selector specifying which fields to include in a partial response.
10475
+ # @param [String] quota_user
10476
+ # Available to use for quota purposes for server-side applications. Can be any
10477
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10478
+ # @param [Google::Apis::RequestOptions] options
10479
+ # Request-specific options
10480
+ #
10481
+ # @yield [result, err] Result & error if block supplied
10482
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig] parsed result object
10483
+ # @yieldparam err [StandardError] error object if request failed
10484
+ #
10485
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig]
10486
+ #
10487
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10488
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10489
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10490
+ def patch_project_location_license_config(name, google_cloud_discoveryengine_v1alpha_license_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
10491
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
10492
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig::Representation
10493
+ command.request_object = google_cloud_discoveryengine_v1alpha_license_config_object
10494
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig::Representation
10495
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig
10496
+ command.params['name'] = name unless name.nil?
10497
+ command.query['updateMask'] = update_mask unless update_mask.nil?
10498
+ command.query['fields'] = fields unless fields.nil?
10499
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10500
+ execute_or_queue_command(command, &block)
10501
+ end
10502
+
10266
10503
  # Batch deletes Notebooks.
10267
10504
  # @param [String] parent
10268
10505
  # Required. The parent branch resource name, such as `projects/`project`/
@@ -34,6 +34,12 @@ module Google
34
34
 
35
35
  # Search your organization's data in the Cloud Search index
36
36
  AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
37
+
38
+ # View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
39
+ AUTH_DISCOVERYENGINE_ASSIST_READWRITE = 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite'
40
+
41
+ # View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
42
+ AUTH_DISCOVERYENGINE_READWRITE = 'https://www.googleapis.com/auth/discoveryengine.readwrite'
37
43
  end
38
44
  end
39
45
  end