google-apis-discoveryengine_v1 0.56.0 → 0.57.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +235 -12
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +83 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +222 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff470378d4a28b4c16a8dbea2a3ff9425dd5828c0ca4c86ef0c015d32f1b0a1b
|
|
4
|
+
data.tar.gz: b3f2244e1a6ddf4ad27cb095f13f237d0dadc673f7b921027d2b1aa85e81bb88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 948e9488fff2a2d4ed6360e151d0a38a9be0dfc67f90e5451215416ff0695705c38b731f97c376143fd613bbd08996973596e20663747b5cbf06a4e71e6ca423
|
|
7
|
+
data.tar.gz: 237fa5062bdbc77b7837a0947ac8adf2bd760f76556ee4b85f7cae47dc070f30142bda2a770b0e91efea20370de7ae97b24c79a51851f2ff2e077176f790fbd7
|
data/CHANGELOG.md
CHANGED
|
@@ -1572,9 +1572,9 @@ module Google
|
|
|
1572
1572
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserInfo]
|
|
1573
1573
|
attr_accessor :user_info
|
|
1574
1574
|
|
|
1575
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
1576
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
1577
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
1575
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
1576
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
1577
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
1578
1578
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
1579
1579
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
1580
1580
|
# UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
|
|
@@ -7299,6 +7299,11 @@ module Google
|
|
|
7299
7299
|
# @return [String]
|
|
7300
7300
|
attr_accessor :configurable_billing_approach
|
|
7301
7301
|
|
|
7302
|
+
# Output only. The timestamp when configurable_billing_approach was last updated.
|
|
7303
|
+
# Corresponds to the JSON property `configurableBillingApproachUpdateTime`
|
|
7304
|
+
# @return [String]
|
|
7305
|
+
attr_accessor :configurable_billing_approach_update_time
|
|
7306
|
+
|
|
7302
7307
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
7303
7308
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
7304
7309
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -7403,6 +7408,7 @@ module Google
|
|
|
7403
7408
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
7404
7409
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
7405
7410
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
7411
|
+
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
7406
7412
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
7407
7413
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
7408
7414
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -10416,6 +10422,31 @@ module Google
|
|
|
10416
10422
|
end
|
|
10417
10423
|
end
|
|
10418
10424
|
|
|
10425
|
+
# Response for ListServingConfigs method.
|
|
10426
|
+
class GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
10427
|
+
include Google::Apis::Core::Hashable
|
|
10428
|
+
|
|
10429
|
+
# Pagination token, if not returned indicates the last page.
|
|
10430
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
10431
|
+
# @return [String]
|
|
10432
|
+
attr_accessor :next_page_token
|
|
10433
|
+
|
|
10434
|
+
# All the ServingConfigs for a given dataStore.
|
|
10435
|
+
# Corresponds to the JSON property `servingConfigs`
|
|
10436
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig>]
|
|
10437
|
+
attr_accessor :serving_configs
|
|
10438
|
+
|
|
10439
|
+
def initialize(**args)
|
|
10440
|
+
update!(**args)
|
|
10441
|
+
end
|
|
10442
|
+
|
|
10443
|
+
# Update properties of this object
|
|
10444
|
+
def update!(**args)
|
|
10445
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
10446
|
+
@serving_configs = args[:serving_configs] if args.key?(:serving_configs)
|
|
10447
|
+
end
|
|
10448
|
+
end
|
|
10449
|
+
|
|
10419
10450
|
# Response for ListSessions method.
|
|
10420
10451
|
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
|
10421
10452
|
include Google::Apis::Core::Hashable
|
|
@@ -10672,6 +10703,16 @@ module Google
|
|
|
10672
10703
|
class GoogleCloudDiscoveryengineV1Project
|
|
10673
10704
|
include Google::Apis::Core::Hashable
|
|
10674
10705
|
|
|
10706
|
+
# Represents the currently effective configurable billing parameters. These
|
|
10707
|
+
# values are derived from the customer's subscription history stored internally
|
|
10708
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
10709
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
10710
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
10711
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
10712
|
+
# Corresponds to the JSON property `configurableBillingStatus`
|
|
10713
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus]
|
|
10714
|
+
attr_accessor :configurable_billing_status
|
|
10715
|
+
|
|
10675
10716
|
# Output only. The timestamp when this project is created.
|
|
10676
10717
|
# Corresponds to the JSON property `createTime`
|
|
10677
10718
|
# @return [String]
|
|
@@ -10706,6 +10747,7 @@ module Google
|
|
|
10706
10747
|
|
|
10707
10748
|
# Update properties of this object
|
|
10708
10749
|
def update!(**args)
|
|
10750
|
+
@configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
|
|
10709
10751
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
10710
10752
|
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
|
10711
10753
|
@name = args[:name] if args.key?(:name)
|
|
@@ -10714,6 +10756,46 @@ module Google
|
|
|
10714
10756
|
end
|
|
10715
10757
|
end
|
|
10716
10758
|
|
|
10759
|
+
# Represents the currently effective configurable billing parameters. These
|
|
10760
|
+
# values are derived from the customer's subscription history stored internally
|
|
10761
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
10762
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
10763
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
10764
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
10765
|
+
class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
|
|
10766
|
+
include Google::Apis::Core::Hashable
|
|
10767
|
+
|
|
10768
|
+
# Optional. The currently effective Indexing Core threshold. This is the
|
|
10769
|
+
# threshold against which Indexing Core usage is compared for overage
|
|
10770
|
+
# calculations.
|
|
10771
|
+
# Corresponds to the JSON property `effectiveIndexingCoreThreshold`
|
|
10772
|
+
# @return [Fixnum]
|
|
10773
|
+
attr_accessor :effective_indexing_core_threshold
|
|
10774
|
+
|
|
10775
|
+
# Optional. The currently effective Search QPM threshold in queries per minute.
|
|
10776
|
+
# This is the threshold against which QPM usage is compared for overage
|
|
10777
|
+
# calculations.
|
|
10778
|
+
# Corresponds to the JSON property `effectiveSearchQpmThreshold`
|
|
10779
|
+
# @return [Fixnum]
|
|
10780
|
+
attr_accessor :effective_search_qpm_threshold
|
|
10781
|
+
|
|
10782
|
+
# Optional. The start time of the currently active billing subscription.
|
|
10783
|
+
# Corresponds to the JSON property `startTime`
|
|
10784
|
+
# @return [String]
|
|
10785
|
+
attr_accessor :start_time
|
|
10786
|
+
|
|
10787
|
+
def initialize(**args)
|
|
10788
|
+
update!(**args)
|
|
10789
|
+
end
|
|
10790
|
+
|
|
10791
|
+
# Update properties of this object
|
|
10792
|
+
def update!(**args)
|
|
10793
|
+
@effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
|
|
10794
|
+
@effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
|
|
10795
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10796
|
+
end
|
|
10797
|
+
end
|
|
10798
|
+
|
|
10717
10799
|
# Customer provided configurations.
|
|
10718
10800
|
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
|
|
10719
10801
|
include Google::Apis::Core::Hashable
|
|
@@ -12154,9 +12236,9 @@ module Google
|
|
|
12154
12236
|
# @return [Hash<String,String>]
|
|
12155
12237
|
attr_accessor :user_labels
|
|
12156
12238
|
|
|
12157
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
12158
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
12159
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
12239
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
12240
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
12241
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
12160
12242
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
12161
12243
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
12162
12244
|
# UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field
|
|
@@ -18670,6 +18752,11 @@ module Google
|
|
|
18670
18752
|
# @return [String]
|
|
18671
18753
|
attr_accessor :configurable_billing_approach
|
|
18672
18754
|
|
|
18755
|
+
# Output only. The timestamp when configurable_billing_approach was last updated.
|
|
18756
|
+
# Corresponds to the JSON property `configurableBillingApproachUpdateTime`
|
|
18757
|
+
# @return [String]
|
|
18758
|
+
attr_accessor :configurable_billing_approach_update_time
|
|
18759
|
+
|
|
18673
18760
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
18674
18761
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
18675
18762
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -18789,6 +18876,7 @@ module Google
|
|
|
18789
18876
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
18790
18877
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
18791
18878
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
18879
|
+
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
18792
18880
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
18793
18881
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
18794
18882
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -18919,6 +19007,33 @@ module Google
|
|
|
18919
19007
|
end
|
|
18920
19008
|
end
|
|
18921
19009
|
|
|
19010
|
+
# Metadata related to the progress of the AgentService.DeleteAgent operation.
|
|
19011
|
+
# This will be returned by the google.longrunning.Operation.metadata field.
|
|
19012
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata
|
|
19013
|
+
include Google::Apis::Core::Hashable
|
|
19014
|
+
|
|
19015
|
+
# Operation create time.
|
|
19016
|
+
# Corresponds to the JSON property `createTime`
|
|
19017
|
+
# @return [String]
|
|
19018
|
+
attr_accessor :create_time
|
|
19019
|
+
|
|
19020
|
+
# Operation last update time. If the operation is done, this is also the finish
|
|
19021
|
+
# time.
|
|
19022
|
+
# Corresponds to the JSON property `updateTime`
|
|
19023
|
+
# @return [String]
|
|
19024
|
+
attr_accessor :update_time
|
|
19025
|
+
|
|
19026
|
+
def initialize(**args)
|
|
19027
|
+
update!(**args)
|
|
19028
|
+
end
|
|
19029
|
+
|
|
19030
|
+
# Update properties of this object
|
|
19031
|
+
def update!(**args)
|
|
19032
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
19033
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
19034
|
+
end
|
|
19035
|
+
end
|
|
19036
|
+
|
|
18922
19037
|
# Metadata related to the progress of the CmekConfigService.DeleteCmekConfig
|
|
18923
19038
|
# operation. This will be returned by the google.longrunning.Operation.metadata
|
|
18924
19039
|
# field.
|
|
@@ -21385,6 +21500,16 @@ module Google
|
|
|
21385
21500
|
class GoogleCloudDiscoveryengineV1alphaProject
|
|
21386
21501
|
include Google::Apis::Core::Hashable
|
|
21387
21502
|
|
|
21503
|
+
# Represents the currently effective configurable billing parameters. These
|
|
21504
|
+
# values are derived from the customer's subscription history stored internally
|
|
21505
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
21506
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
21507
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
21508
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
21509
|
+
# Corresponds to the JSON property `configurableBillingStatus`
|
|
21510
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus]
|
|
21511
|
+
attr_accessor :configurable_billing_status
|
|
21512
|
+
|
|
21388
21513
|
# Output only. The timestamp when this project is created.
|
|
21389
21514
|
# Corresponds to the JSON property `createTime`
|
|
21390
21515
|
# @return [String]
|
|
@@ -21419,6 +21544,7 @@ module Google
|
|
|
21419
21544
|
|
|
21420
21545
|
# Update properties of this object
|
|
21421
21546
|
def update!(**args)
|
|
21547
|
+
@configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
|
|
21422
21548
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
21423
21549
|
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
|
21424
21550
|
@name = args[:name] if args.key?(:name)
|
|
@@ -21427,6 +21553,46 @@ module Google
|
|
|
21427
21553
|
end
|
|
21428
21554
|
end
|
|
21429
21555
|
|
|
21556
|
+
# Represents the currently effective configurable billing parameters. These
|
|
21557
|
+
# values are derived from the customer's subscription history stored internally
|
|
21558
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
21559
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
21560
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
21561
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
21562
|
+
class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
|
|
21563
|
+
include Google::Apis::Core::Hashable
|
|
21564
|
+
|
|
21565
|
+
# Optional. The currently effective Indexing Core threshold. This is the
|
|
21566
|
+
# threshold against which Indexing Core usage is compared for overage
|
|
21567
|
+
# calculations.
|
|
21568
|
+
# Corresponds to the JSON property `effectiveIndexingCoreThreshold`
|
|
21569
|
+
# @return [Fixnum]
|
|
21570
|
+
attr_accessor :effective_indexing_core_threshold
|
|
21571
|
+
|
|
21572
|
+
# Optional. The currently effective Search QPM threshold in queries per minute.
|
|
21573
|
+
# This is the threshold against which QPM usage is compared for overage
|
|
21574
|
+
# calculations.
|
|
21575
|
+
# Corresponds to the JSON property `effectiveSearchQpmThreshold`
|
|
21576
|
+
# @return [Fixnum]
|
|
21577
|
+
attr_accessor :effective_search_qpm_threshold
|
|
21578
|
+
|
|
21579
|
+
# Optional. The start time of the currently active billing subscription.
|
|
21580
|
+
# Corresponds to the JSON property `startTime`
|
|
21581
|
+
# @return [String]
|
|
21582
|
+
attr_accessor :start_time
|
|
21583
|
+
|
|
21584
|
+
def initialize(**args)
|
|
21585
|
+
update!(**args)
|
|
21586
|
+
end
|
|
21587
|
+
|
|
21588
|
+
# Update properties of this object
|
|
21589
|
+
def update!(**args)
|
|
21590
|
+
@effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
|
|
21591
|
+
@effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
|
|
21592
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
21593
|
+
end
|
|
21594
|
+
end
|
|
21595
|
+
|
|
21430
21596
|
# Customer provided configurations.
|
|
21431
21597
|
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
|
|
21432
21598
|
include Google::Apis::Core::Hashable
|
|
@@ -22621,9 +22787,9 @@ module Google
|
|
|
22621
22787
|
# @return [Hash<String,String>]
|
|
22622
22788
|
attr_accessor :user_labels
|
|
22623
22789
|
|
|
22624
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
22625
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
22626
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
22790
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
22791
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
22792
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
22627
22793
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
22628
22794
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
22629
22795
|
# UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field
|
|
@@ -25432,6 +25598,11 @@ module Google
|
|
|
25432
25598
|
# @return [String]
|
|
25433
25599
|
attr_accessor :configurable_billing_approach
|
|
25434
25600
|
|
|
25601
|
+
# Output only. The timestamp when configurable_billing_approach was last updated.
|
|
25602
|
+
# Corresponds to the JSON property `configurableBillingApproachUpdateTime`
|
|
25603
|
+
# @return [String]
|
|
25604
|
+
attr_accessor :configurable_billing_approach_update_time
|
|
25605
|
+
|
|
25435
25606
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
25436
25607
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
25437
25608
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -25546,6 +25717,7 @@ module Google
|
|
|
25546
25717
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
25547
25718
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
25548
25719
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
25720
|
+
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
25549
25721
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
25550
25722
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
25551
25723
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -27478,6 +27650,16 @@ module Google
|
|
|
27478
27650
|
class GoogleCloudDiscoveryengineV1betaProject
|
|
27479
27651
|
include Google::Apis::Core::Hashable
|
|
27480
27652
|
|
|
27653
|
+
# Represents the currently effective configurable billing parameters. These
|
|
27654
|
+
# values are derived from the customer's subscription history stored internally
|
|
27655
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
27656
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
27657
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
27658
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
27659
|
+
# Corresponds to the JSON property `configurableBillingStatus`
|
|
27660
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus]
|
|
27661
|
+
attr_accessor :configurable_billing_status
|
|
27662
|
+
|
|
27481
27663
|
# Output only. The timestamp when this project is created.
|
|
27482
27664
|
# Corresponds to the JSON property `createTime`
|
|
27483
27665
|
# @return [String]
|
|
@@ -27512,6 +27694,7 @@ module Google
|
|
|
27512
27694
|
|
|
27513
27695
|
# Update properties of this object
|
|
27514
27696
|
def update!(**args)
|
|
27697
|
+
@configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
|
|
27515
27698
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
27516
27699
|
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
|
27517
27700
|
@name = args[:name] if args.key?(:name)
|
|
@@ -27520,6 +27703,46 @@ module Google
|
|
|
27520
27703
|
end
|
|
27521
27704
|
end
|
|
27522
27705
|
|
|
27706
|
+
# Represents the currently effective configurable billing parameters. These
|
|
27707
|
+
# values are derived from the customer's subscription history stored internally
|
|
27708
|
+
# and reflect the thresholds actively being used for billing purposes at the
|
|
27709
|
+
# time of the GetProject call. This includes the start_time of the subscription
|
|
27710
|
+
# and may differ from the values in `customer_provided_config` due to billing
|
|
27711
|
+
# rules (e.g., scale-downs taking effect only at the start of a new month).
|
|
27712
|
+
class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
|
|
27713
|
+
include Google::Apis::Core::Hashable
|
|
27714
|
+
|
|
27715
|
+
# Optional. The currently effective Indexing Core threshold. This is the
|
|
27716
|
+
# threshold against which Indexing Core usage is compared for overage
|
|
27717
|
+
# calculations.
|
|
27718
|
+
# Corresponds to the JSON property `effectiveIndexingCoreThreshold`
|
|
27719
|
+
# @return [Fixnum]
|
|
27720
|
+
attr_accessor :effective_indexing_core_threshold
|
|
27721
|
+
|
|
27722
|
+
# Optional. The currently effective Search QPM threshold in queries per minute.
|
|
27723
|
+
# This is the threshold against which QPM usage is compared for overage
|
|
27724
|
+
# calculations.
|
|
27725
|
+
# Corresponds to the JSON property `effectiveSearchQpmThreshold`
|
|
27726
|
+
# @return [Fixnum]
|
|
27727
|
+
attr_accessor :effective_search_qpm_threshold
|
|
27728
|
+
|
|
27729
|
+
# Optional. The start time of the currently active billing subscription.
|
|
27730
|
+
# Corresponds to the JSON property `startTime`
|
|
27731
|
+
# @return [String]
|
|
27732
|
+
attr_accessor :start_time
|
|
27733
|
+
|
|
27734
|
+
def initialize(**args)
|
|
27735
|
+
update!(**args)
|
|
27736
|
+
end
|
|
27737
|
+
|
|
27738
|
+
# Update properties of this object
|
|
27739
|
+
def update!(**args)
|
|
27740
|
+
@effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
|
|
27741
|
+
@effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
|
|
27742
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
27743
|
+
end
|
|
27744
|
+
end
|
|
27745
|
+
|
|
27523
27746
|
# Customer provided configurations.
|
|
27524
27747
|
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
|
|
27525
27748
|
include Google::Apis::Core::Hashable
|
|
@@ -28338,9 +28561,9 @@ module Google
|
|
|
28338
28561
|
# @return [Hash<String,String>]
|
|
28339
28562
|
attr_accessor :user_labels
|
|
28340
28563
|
|
|
28341
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
28342
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
28343
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
28564
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
28565
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
28566
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
28344
28567
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
28345
28568
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
28346
28569
|
# UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
|
25
|
+
REVISION = "20251030"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1672,6 +1672,12 @@ module Google
|
|
|
1672
1672
|
include Google::Apis::Core::JsonObjectSupport
|
|
1673
1673
|
end
|
|
1674
1674
|
|
|
1675
|
+
class GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
1676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1677
|
+
|
|
1678
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1679
|
+
end
|
|
1680
|
+
|
|
1675
1681
|
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
|
1676
1682
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1677
1683
|
|
|
@@ -1720,6 +1726,12 @@ module Google
|
|
|
1720
1726
|
include Google::Apis::Core::JsonObjectSupport
|
|
1721
1727
|
end
|
|
1722
1728
|
|
|
1729
|
+
class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
|
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1731
|
+
|
|
1732
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1723
1735
|
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
|
|
1724
1736
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1725
1737
|
|
|
@@ -2914,6 +2926,12 @@ module Google
|
|
|
2914
2926
|
include Google::Apis::Core::JsonObjectSupport
|
|
2915
2927
|
end
|
|
2916
2928
|
|
|
2929
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata
|
|
2930
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2931
|
+
|
|
2932
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2933
|
+
end
|
|
2934
|
+
|
|
2917
2935
|
class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata
|
|
2918
2936
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2919
2937
|
|
|
@@ -3346,6 +3364,12 @@ module Google
|
|
|
3346
3364
|
include Google::Apis::Core::JsonObjectSupport
|
|
3347
3365
|
end
|
|
3348
3366
|
|
|
3367
|
+
class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
|
|
3368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3369
|
+
|
|
3370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3371
|
+
end
|
|
3372
|
+
|
|
3349
3373
|
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
|
|
3350
3374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3351
3375
|
|
|
@@ -4318,6 +4342,12 @@ module Google
|
|
|
4318
4342
|
include Google::Apis::Core::JsonObjectSupport
|
|
4319
4343
|
end
|
|
4320
4344
|
|
|
4345
|
+
class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
|
|
4346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4347
|
+
|
|
4348
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4349
|
+
end
|
|
4350
|
+
|
|
4321
4351
|
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
|
|
4322
4352
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4323
4353
|
|
|
@@ -6713,6 +6743,7 @@ module Google
|
|
|
6713
6743
|
property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
|
6714
6744
|
|
|
6715
6745
|
property :configurable_billing_approach, as: 'configurableBillingApproach'
|
|
6746
|
+
property :configurable_billing_approach_update_time, as: 'configurableBillingApproachUpdateTime'
|
|
6716
6747
|
property :content_config, as: 'contentConfig'
|
|
6717
6748
|
property :create_time, as: 'createTime'
|
|
6718
6749
|
property :default_schema_id, as: 'defaultSchemaId'
|
|
@@ -7601,6 +7632,15 @@ module Google
|
|
|
7601
7632
|
end
|
|
7602
7633
|
end
|
|
7603
7634
|
|
|
7635
|
+
class GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
7636
|
+
# @private
|
|
7637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7638
|
+
property :next_page_token, as: 'nextPageToken'
|
|
7639
|
+
collection :serving_configs, as: 'servingConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
7640
|
+
|
|
7641
|
+
end
|
|
7642
|
+
end
|
|
7643
|
+
|
|
7604
7644
|
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
|
7605
7645
|
# @private
|
|
7606
7646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7671,6 +7711,8 @@ module Google
|
|
|
7671
7711
|
class GoogleCloudDiscoveryengineV1Project
|
|
7672
7712
|
# @private
|
|
7673
7713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7714
|
+
property :configurable_billing_status, as: 'configurableBillingStatus', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus::Representation
|
|
7715
|
+
|
|
7674
7716
|
property :create_time, as: 'createTime'
|
|
7675
7717
|
property :customer_provided_config, as: 'customerProvidedConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig::Representation
|
|
7676
7718
|
|
|
@@ -7681,6 +7723,15 @@ module Google
|
|
|
7681
7723
|
end
|
|
7682
7724
|
end
|
|
7683
7725
|
|
|
7726
|
+
class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
|
|
7727
|
+
# @private
|
|
7728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7729
|
+
property :effective_indexing_core_threshold, :numeric_string => true, as: 'effectiveIndexingCoreThreshold'
|
|
7730
|
+
property :effective_search_qpm_threshold, :numeric_string => true, as: 'effectiveSearchQpmThreshold'
|
|
7731
|
+
property :start_time, as: 'startTime'
|
|
7732
|
+
end
|
|
7733
|
+
end
|
|
7734
|
+
|
|
7684
7735
|
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
|
|
7685
7736
|
# @private
|
|
7686
7737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9747,6 +9798,7 @@ module Google
|
|
|
9747
9798
|
property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig::Representation
|
|
9748
9799
|
|
|
9749
9800
|
property :configurable_billing_approach, as: 'configurableBillingApproach'
|
|
9801
|
+
property :configurable_billing_approach_update_time, as: 'configurableBillingApproachUpdateTime'
|
|
9750
9802
|
property :content_config, as: 'contentConfig'
|
|
9751
9803
|
property :create_time, as: 'createTime'
|
|
9752
9804
|
property :default_schema_id, as: 'defaultSchemaId'
|
|
@@ -9809,6 +9861,14 @@ module Google
|
|
|
9809
9861
|
end
|
|
9810
9862
|
end
|
|
9811
9863
|
|
|
9864
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata
|
|
9865
|
+
# @private
|
|
9866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9867
|
+
property :create_time, as: 'createTime'
|
|
9868
|
+
property :update_time, as: 'updateTime'
|
|
9869
|
+
end
|
|
9870
|
+
end
|
|
9871
|
+
|
|
9812
9872
|
class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata
|
|
9813
9873
|
# @private
|
|
9814
9874
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10487,6 +10547,8 @@ module Google
|
|
|
10487
10547
|
class GoogleCloudDiscoveryengineV1alphaProject
|
|
10488
10548
|
# @private
|
|
10489
10549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10550
|
+
property :configurable_billing_status, as: 'configurableBillingStatus', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus::Representation
|
|
10551
|
+
|
|
10490
10552
|
property :create_time, as: 'createTime'
|
|
10491
10553
|
property :customer_provided_config, as: 'customerProvidedConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig::Representation
|
|
10492
10554
|
|
|
@@ -10497,6 +10559,15 @@ module Google
|
|
|
10497
10559
|
end
|
|
10498
10560
|
end
|
|
10499
10561
|
|
|
10562
|
+
class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
|
|
10563
|
+
# @private
|
|
10564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10565
|
+
property :effective_indexing_core_threshold, :numeric_string => true, as: 'effectiveIndexingCoreThreshold'
|
|
10566
|
+
property :effective_search_qpm_threshold, :numeric_string => true, as: 'effectiveSearchQpmThreshold'
|
|
10567
|
+
property :start_time, as: 'startTime'
|
|
10568
|
+
end
|
|
10569
|
+
end
|
|
10570
|
+
|
|
10500
10571
|
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
|
|
10501
10572
|
# @private
|
|
10502
10573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11535,6 +11606,7 @@ module Google
|
|
|
11535
11606
|
property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
|
|
11536
11607
|
|
|
11537
11608
|
property :configurable_billing_approach, as: 'configurableBillingApproach'
|
|
11609
|
+
property :configurable_billing_approach_update_time, as: 'configurableBillingApproachUpdateTime'
|
|
11538
11610
|
property :content_config, as: 'contentConfig'
|
|
11539
11611
|
property :create_time, as: 'createTime'
|
|
11540
11612
|
property :default_schema_id, as: 'defaultSchemaId'
|
|
@@ -12109,6 +12181,8 @@ module Google
|
|
|
12109
12181
|
class GoogleCloudDiscoveryengineV1betaProject
|
|
12110
12182
|
# @private
|
|
12111
12183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12184
|
+
property :configurable_billing_status, as: 'configurableBillingStatus', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus::Representation
|
|
12185
|
+
|
|
12112
12186
|
property :create_time, as: 'createTime'
|
|
12113
12187
|
property :customer_provided_config, as: 'customerProvidedConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig::Representation
|
|
12114
12188
|
|
|
@@ -12119,6 +12193,15 @@ module Google
|
|
|
12119
12193
|
end
|
|
12120
12194
|
end
|
|
12121
12195
|
|
|
12196
|
+
class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
|
|
12197
|
+
# @private
|
|
12198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12199
|
+
property :effective_indexing_core_threshold, :numeric_string => true, as: 'effectiveIndexingCoreThreshold'
|
|
12200
|
+
property :effective_search_qpm_threshold, :numeric_string => true, as: 'effectiveSearchQpmThreshold'
|
|
12201
|
+
property :start_time, as: 'startTime'
|
|
12202
|
+
end
|
|
12203
|
+
end
|
|
12204
|
+
|
|
12122
12205
|
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
|
|
12123
12206
|
# @private
|
|
12124
12207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -710,9 +710,9 @@ module Google
|
|
|
710
710
|
# values: * `document` is the default model for regular dataStores. * `search-
|
|
711
711
|
# history` is the default model for site search dataStores.
|
|
712
712
|
# @param [String] user_pseudo_id
|
|
713
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
714
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
715
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
713
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
714
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
715
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
716
716
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
717
717
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
718
718
|
# UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
|
|
@@ -2496,6 +2496,78 @@ module Google
|
|
|
2496
2496
|
execute_or_queue_command(command, &block)
|
|
2497
2497
|
end
|
|
2498
2498
|
|
|
2499
|
+
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
2500
|
+
# exist.
|
|
2501
|
+
# @param [String] name
|
|
2502
|
+
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
|
2503
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
2504
|
+
# servingConfigs/`serving_config_id``
|
|
2505
|
+
# @param [String] fields
|
|
2506
|
+
# Selector specifying which fields to include in a partial response.
|
|
2507
|
+
# @param [String] quota_user
|
|
2508
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2509
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2510
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2511
|
+
# Request-specific options
|
|
2512
|
+
#
|
|
2513
|
+
# @yield [result, err] Result & error if block supplied
|
|
2514
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
2515
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2516
|
+
#
|
|
2517
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
2518
|
+
#
|
|
2519
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2520
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2521
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2522
|
+
def get_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2523
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2524
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
2525
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
2526
|
+
command.params['name'] = name unless name.nil?
|
|
2527
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2528
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2529
|
+
execute_or_queue_command(command, &block)
|
|
2530
|
+
end
|
|
2531
|
+
|
|
2532
|
+
# Lists all ServingConfigs linked to this dataStore.
|
|
2533
|
+
# @param [String] parent
|
|
2534
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
|
2535
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine``
|
|
2536
|
+
# @param [Fixnum] page_size
|
|
2537
|
+
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
|
2538
|
+
# If a value greater than 100 is provided, at most 100 results are returned.
|
|
2539
|
+
# @param [String] page_token
|
|
2540
|
+
# Optional. A page token, received from a previous `ListServingConfigs` call.
|
|
2541
|
+
# Provide this to retrieve the subsequent page.
|
|
2542
|
+
# @param [String] fields
|
|
2543
|
+
# Selector specifying which fields to include in a partial response.
|
|
2544
|
+
# @param [String] quota_user
|
|
2545
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2546
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2547
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2548
|
+
# Request-specific options
|
|
2549
|
+
#
|
|
2550
|
+
# @yield [result, err] Result & error if block supplied
|
|
2551
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
|
|
2552
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2553
|
+
#
|
|
2554
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
|
|
2555
|
+
#
|
|
2556
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2557
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2558
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2559
|
+
def list_project_location_collection_data_store_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2560
|
+
command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
|
|
2561
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
|
|
2562
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
2563
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2564
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2565
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2566
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2567
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2568
|
+
execute_or_queue_command(command, &block)
|
|
2569
|
+
end
|
|
2570
|
+
|
|
2499
2571
|
# Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
2500
2572
|
# not exist.
|
|
2501
2573
|
# @param [String] name
|
|
@@ -4739,6 +4811,78 @@ module Google
|
|
|
4739
4811
|
execute_or_queue_command(command, &block)
|
|
4740
4812
|
end
|
|
4741
4813
|
|
|
4814
|
+
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
4815
|
+
# exist.
|
|
4816
|
+
# @param [String] name
|
|
4817
|
+
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
|
4818
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
4819
|
+
# servingConfigs/`serving_config_id``
|
|
4820
|
+
# @param [String] fields
|
|
4821
|
+
# Selector specifying which fields to include in a partial response.
|
|
4822
|
+
# @param [String] quota_user
|
|
4823
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4824
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4825
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4826
|
+
# Request-specific options
|
|
4827
|
+
#
|
|
4828
|
+
# @yield [result, err] Result & error if block supplied
|
|
4829
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
4830
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4831
|
+
#
|
|
4832
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
4833
|
+
#
|
|
4834
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4835
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4836
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4837
|
+
def get_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4838
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4839
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
4840
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
4841
|
+
command.params['name'] = name unless name.nil?
|
|
4842
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4843
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4844
|
+
execute_or_queue_command(command, &block)
|
|
4845
|
+
end
|
|
4846
|
+
|
|
4847
|
+
# Lists all ServingConfigs linked to this dataStore.
|
|
4848
|
+
# @param [String] parent
|
|
4849
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
|
4850
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine``
|
|
4851
|
+
# @param [Fixnum] page_size
|
|
4852
|
+
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
|
4853
|
+
# If a value greater than 100 is provided, at most 100 results are returned.
|
|
4854
|
+
# @param [String] page_token
|
|
4855
|
+
# Optional. A page token, received from a previous `ListServingConfigs` call.
|
|
4856
|
+
# Provide this to retrieve the subsequent page.
|
|
4857
|
+
# @param [String] fields
|
|
4858
|
+
# Selector specifying which fields to include in a partial response.
|
|
4859
|
+
# @param [String] quota_user
|
|
4860
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4861
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4862
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4863
|
+
# Request-specific options
|
|
4864
|
+
#
|
|
4865
|
+
# @yield [result, err] Result & error if block supplied
|
|
4866
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
|
|
4867
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4868
|
+
#
|
|
4869
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
|
|
4870
|
+
#
|
|
4871
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4872
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4873
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4874
|
+
def list_project_location_collection_engine_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4875
|
+
command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
|
|
4876
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
|
|
4877
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
4878
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4879
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4880
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4881
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4882
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4883
|
+
execute_or_queue_command(command, &block)
|
|
4884
|
+
end
|
|
4885
|
+
|
|
4742
4886
|
# Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
4743
4887
|
# not exist.
|
|
4744
4888
|
# @param [String] name
|
|
@@ -5275,9 +5419,9 @@ module Google
|
|
|
5275
5419
|
# values: * `document` is the default model for regular dataStores. * `search-
|
|
5276
5420
|
# history` is the default model for site search dataStores.
|
|
5277
5421
|
# @param [String] user_pseudo_id
|
|
5278
|
-
# A unique identifier for tracking visitors. For example, this could
|
|
5279
|
-
# implemented with an HTTP cookie, which should be able to uniquely identify
|
|
5280
|
-
# visitor on a single device. This unique identifier should not change if the
|
|
5422
|
+
# Optional. A unique identifier for tracking visitors. For example, this could
|
|
5423
|
+
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
5424
|
+
# a visitor on a single device. This unique identifier should not change if the
|
|
5281
5425
|
# visitor logs in or out of the website. This field should NOT have a fixed
|
|
5282
5426
|
# value such as `unknown_visitor`. This should be the same identifier as
|
|
5283
5427
|
# UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
|
|
@@ -6915,6 +7059,78 @@ module Google
|
|
|
6915
7059
|
execute_or_queue_command(command, &block)
|
|
6916
7060
|
end
|
|
6917
7061
|
|
|
7062
|
+
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
7063
|
+
# exist.
|
|
7064
|
+
# @param [String] name
|
|
7065
|
+
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
|
7066
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
7067
|
+
# servingConfigs/`serving_config_id``
|
|
7068
|
+
# @param [String] fields
|
|
7069
|
+
# Selector specifying which fields to include in a partial response.
|
|
7070
|
+
# @param [String] quota_user
|
|
7071
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7072
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7073
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7074
|
+
# Request-specific options
|
|
7075
|
+
#
|
|
7076
|
+
# @yield [result, err] Result & error if block supplied
|
|
7077
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
7078
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7079
|
+
#
|
|
7080
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
7081
|
+
#
|
|
7082
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7083
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7084
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7085
|
+
def get_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
7086
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
7087
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
7088
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
7089
|
+
command.params['name'] = name unless name.nil?
|
|
7090
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7091
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7092
|
+
execute_or_queue_command(command, &block)
|
|
7093
|
+
end
|
|
7094
|
+
|
|
7095
|
+
# Lists all ServingConfigs linked to this dataStore.
|
|
7096
|
+
# @param [String] parent
|
|
7097
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
|
7098
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine``
|
|
7099
|
+
# @param [Fixnum] page_size
|
|
7100
|
+
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
|
7101
|
+
# If a value greater than 100 is provided, at most 100 results are returned.
|
|
7102
|
+
# @param [String] page_token
|
|
7103
|
+
# Optional. A page token, received from a previous `ListServingConfigs` call.
|
|
7104
|
+
# Provide this to retrieve the subsequent page.
|
|
7105
|
+
# @param [String] fields
|
|
7106
|
+
# Selector specifying which fields to include in a partial response.
|
|
7107
|
+
# @param [String] quota_user
|
|
7108
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7109
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7110
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7111
|
+
# Request-specific options
|
|
7112
|
+
#
|
|
7113
|
+
# @yield [result, err] Result & error if block supplied
|
|
7114
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
|
|
7115
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7116
|
+
#
|
|
7117
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
|
|
7118
|
+
#
|
|
7119
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7120
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7121
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7122
|
+
def list_project_location_data_store_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7123
|
+
command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
|
|
7124
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
|
|
7125
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
|
|
7126
|
+
command.params['parent'] = parent unless parent.nil?
|
|
7127
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
7128
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
7129
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7131
|
+
execute_or_queue_command(command, &block)
|
|
7132
|
+
end
|
|
7133
|
+
|
|
6918
7134
|
# Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
6919
7135
|
# not exist.
|
|
6920
7136
|
# @param [String] name
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-discoveryengine_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.57.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-discoveryengine_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.57.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|