google-apis-discoveryengine_v1beta 0.86.0 → 0.87.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_v1beta/classes.rb +165 -0
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +51 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +139 -0
- 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: ad304d79eca951129885cf3c386cc670e7f914900823c0d0d4e60cea594f4b71
|
|
4
|
+
data.tar.gz: 4eaabf61c649b20382e8e36b2953a493abb9c07a772fcfbf0dd2b7d55cd7e506
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c1093f504245f79baf767c2e391c995240786c50e77ea74ff1369ef3f8776d3a7dd383fc371f0fb3876247bac56fb730c7f866eee9876dd0a9fdce03c3c1fb5
|
|
7
|
+
data.tar.gz: 3e3217451297bedf87d88491c9aa320a678faa42f6a55e005de4faa23802d5382720b97ac84088d6722f49819ff49616f8f1413526de9e0f27870cb2f72da9a6
|
data/CHANGELOG.md
CHANGED
|
@@ -5117,6 +5117,13 @@ module Google
|
|
|
5117
5117
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
5118
5118
|
attr_accessor :model_armor_config
|
|
5119
5119
|
|
|
5120
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
5121
|
+
# Default to false if not specified.
|
|
5122
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
5123
|
+
# @return [Boolean]
|
|
5124
|
+
attr_accessor :opt_out_notebook_sharing
|
|
5125
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
5126
|
+
|
|
5120
5127
|
def initialize(**args)
|
|
5121
5128
|
update!(**args)
|
|
5122
5129
|
end
|
|
@@ -5124,6 +5131,7 @@ module Google
|
|
|
5124
5131
|
# Update properties of this object
|
|
5125
5132
|
def update!(**args)
|
|
5126
5133
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
5134
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
5127
5135
|
end
|
|
5128
5136
|
end
|
|
5129
5137
|
|
|
@@ -6571,6 +6579,62 @@ module Google
|
|
|
6571
6579
|
end
|
|
6572
6580
|
end
|
|
6573
6581
|
|
|
6582
|
+
# Configures metadata that is used for End User entities.
|
|
6583
|
+
class GoogleCloudDiscoveryengineV1UserStore
|
|
6584
|
+
include Google::Apis::Core::Hashable
|
|
6585
|
+
|
|
6586
|
+
# Optional. The default subscription LicenseConfig for the UserStore, if
|
|
6587
|
+
# UserStore.enable_license_auto_register is true, new users will automatically
|
|
6588
|
+
# register under the default subscription. If default LicenseConfig doesn't have
|
|
6589
|
+
# remaining license seats left, new users will not be assigned with license and
|
|
6590
|
+
# will be blocked for Vertex AI Search features. This is used if `
|
|
6591
|
+
# license_assignment_tier_rules` is not configured.
|
|
6592
|
+
# Corresponds to the JSON property `defaultLicenseConfig`
|
|
6593
|
+
# @return [String]
|
|
6594
|
+
attr_accessor :default_license_config
|
|
6595
|
+
|
|
6596
|
+
# The display name of the User Store.
|
|
6597
|
+
# Corresponds to the JSON property `displayName`
|
|
6598
|
+
# @return [String]
|
|
6599
|
+
attr_accessor :display_name
|
|
6600
|
+
|
|
6601
|
+
# Optional. Whether to enable license auto update for users in this User Store.
|
|
6602
|
+
# If true, users with expired licenses will automatically be updated to use the
|
|
6603
|
+
# default license config as long as the default license config has seats left.
|
|
6604
|
+
# Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
|
|
6605
|
+
# @return [Boolean]
|
|
6606
|
+
attr_accessor :enable_expired_license_auto_update
|
|
6607
|
+
alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
|
|
6608
|
+
|
|
6609
|
+
# Optional. Whether to enable license auto register for users in this User Store.
|
|
6610
|
+
# If true, new users will automatically register under the default license
|
|
6611
|
+
# config as long as the default license config has seats left.
|
|
6612
|
+
# Corresponds to the JSON property `enableLicenseAutoRegister`
|
|
6613
|
+
# @return [Boolean]
|
|
6614
|
+
attr_accessor :enable_license_auto_register
|
|
6615
|
+
alias_method :enable_license_auto_register?, :enable_license_auto_register
|
|
6616
|
+
|
|
6617
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
6618
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
6619
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
6620
|
+
# Corresponds to the JSON property `name`
|
|
6621
|
+
# @return [String]
|
|
6622
|
+
attr_accessor :name
|
|
6623
|
+
|
|
6624
|
+
def initialize(**args)
|
|
6625
|
+
update!(**args)
|
|
6626
|
+
end
|
|
6627
|
+
|
|
6628
|
+
# Update properties of this object
|
|
6629
|
+
def update!(**args)
|
|
6630
|
+
@default_license_config = args[:default_license_config] if args.key?(:default_license_config)
|
|
6631
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
6632
|
+
@enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
|
|
6633
|
+
@enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
|
|
6634
|
+
@name = args[:name] if args.key?(:name)
|
|
6635
|
+
end
|
|
6636
|
+
end
|
|
6637
|
+
|
|
6574
6638
|
# Config to store data store type configuration for workspace data
|
|
6575
6639
|
class GoogleCloudDiscoveryengineV1WorkspaceConfig
|
|
6576
6640
|
include Google::Apis::Core::Hashable
|
|
@@ -10305,6 +10369,35 @@ module Google
|
|
|
10305
10369
|
end
|
|
10306
10370
|
end
|
|
10307
10371
|
|
|
10372
|
+
# Metadata related to the progress of the UserStoreService.DeleteUserStore
|
|
10373
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
|
10374
|
+
# field. Delete UserStore will delete all the end users under the user store,
|
|
10375
|
+
# return the number of end users successfully deleted or failed to delete in the
|
|
10376
|
+
# metadata.
|
|
10377
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
|
|
10378
|
+
include Google::Apis::Core::Hashable
|
|
10379
|
+
|
|
10380
|
+
# The number of end users under the user store that failed to be deleted.
|
|
10381
|
+
# Corresponds to the JSON property `failureCount`
|
|
10382
|
+
# @return [Fixnum]
|
|
10383
|
+
attr_accessor :failure_count
|
|
10384
|
+
|
|
10385
|
+
# The number of end users under the user store that were successfully deleted.
|
|
10386
|
+
# Corresponds to the JSON property `successCount`
|
|
10387
|
+
# @return [Fixnum]
|
|
10388
|
+
attr_accessor :success_count
|
|
10389
|
+
|
|
10390
|
+
def initialize(**args)
|
|
10391
|
+
update!(**args)
|
|
10392
|
+
end
|
|
10393
|
+
|
|
10394
|
+
# Update properties of this object
|
|
10395
|
+
def update!(**args)
|
|
10396
|
+
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
|
10397
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
10398
|
+
end
|
|
10399
|
+
end
|
|
10400
|
+
|
|
10308
10401
|
# Defines target endpoints used to connect to third-party sources.
|
|
10309
10402
|
class GoogleCloudDiscoveryengineV1alphaDestinationConfig
|
|
10310
10403
|
include Google::Apis::Core::Hashable
|
|
@@ -12571,6 +12664,13 @@ module Google
|
|
|
12571
12664
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
12572
12665
|
attr_accessor :model_armor_config
|
|
12573
12666
|
|
|
12667
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
12668
|
+
# Default to false if not specified.
|
|
12669
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
12670
|
+
# @return [Boolean]
|
|
12671
|
+
attr_accessor :opt_out_notebook_sharing
|
|
12672
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
12673
|
+
|
|
12574
12674
|
def initialize(**args)
|
|
12575
12675
|
update!(**args)
|
|
12576
12676
|
end
|
|
@@ -12578,6 +12678,7 @@ module Google
|
|
|
12578
12678
|
# Update properties of this object
|
|
12579
12679
|
def update!(**args)
|
|
12580
12680
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
12681
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
12581
12682
|
end
|
|
12582
12683
|
end
|
|
12583
12684
|
|
|
@@ -24945,6 +25046,13 @@ module Google
|
|
|
24945
25046
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
24946
25047
|
attr_accessor :model_armor_config
|
|
24947
25048
|
|
|
25049
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
25050
|
+
# Default to false if not specified.
|
|
25051
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
25052
|
+
# @return [Boolean]
|
|
25053
|
+
attr_accessor :opt_out_notebook_sharing
|
|
25054
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
25055
|
+
|
|
24948
25056
|
def initialize(**args)
|
|
24949
25057
|
update!(**args)
|
|
24950
25058
|
end
|
|
@@ -24952,6 +25060,7 @@ module Google
|
|
|
24952
25060
|
# Update properties of this object
|
|
24953
25061
|
def update!(**args)
|
|
24954
25062
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
25063
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
24955
25064
|
end
|
|
24956
25065
|
end
|
|
24957
25066
|
|
|
@@ -30622,6 +30731,62 @@ module Google
|
|
|
30622
30731
|
end
|
|
30623
30732
|
end
|
|
30624
30733
|
|
|
30734
|
+
# Configures metadata that is used for End User entities.
|
|
30735
|
+
class GoogleCloudDiscoveryengineV1betaUserStore
|
|
30736
|
+
include Google::Apis::Core::Hashable
|
|
30737
|
+
|
|
30738
|
+
# Optional. The default subscription LicenseConfig for the UserStore, if
|
|
30739
|
+
# UserStore.enable_license_auto_register is true, new users will automatically
|
|
30740
|
+
# register under the default subscription. If default LicenseConfig doesn't have
|
|
30741
|
+
# remaining license seats left, new users will not be assigned with license and
|
|
30742
|
+
# will be blocked for Vertex AI Search features. This is used if `
|
|
30743
|
+
# license_assignment_tier_rules` is not configured.
|
|
30744
|
+
# Corresponds to the JSON property `defaultLicenseConfig`
|
|
30745
|
+
# @return [String]
|
|
30746
|
+
attr_accessor :default_license_config
|
|
30747
|
+
|
|
30748
|
+
# The display name of the User Store.
|
|
30749
|
+
# Corresponds to the JSON property `displayName`
|
|
30750
|
+
# @return [String]
|
|
30751
|
+
attr_accessor :display_name
|
|
30752
|
+
|
|
30753
|
+
# Optional. Whether to enable license auto update for users in this User Store.
|
|
30754
|
+
# If true, users with expired licenses will automatically be updated to use the
|
|
30755
|
+
# default license config as long as the default license config has seats left.
|
|
30756
|
+
# Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
|
|
30757
|
+
# @return [Boolean]
|
|
30758
|
+
attr_accessor :enable_expired_license_auto_update
|
|
30759
|
+
alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
|
|
30760
|
+
|
|
30761
|
+
# Optional. Whether to enable license auto register for users in this User Store.
|
|
30762
|
+
# If true, new users will automatically register under the default license
|
|
30763
|
+
# config as long as the default license config has seats left.
|
|
30764
|
+
# Corresponds to the JSON property `enableLicenseAutoRegister`
|
|
30765
|
+
# @return [Boolean]
|
|
30766
|
+
attr_accessor :enable_license_auto_register
|
|
30767
|
+
alias_method :enable_license_auto_register?, :enable_license_auto_register
|
|
30768
|
+
|
|
30769
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
30770
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
30771
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
30772
|
+
# Corresponds to the JSON property `name`
|
|
30773
|
+
# @return [String]
|
|
30774
|
+
attr_accessor :name
|
|
30775
|
+
|
|
30776
|
+
def initialize(**args)
|
|
30777
|
+
update!(**args)
|
|
30778
|
+
end
|
|
30779
|
+
|
|
30780
|
+
# Update properties of this object
|
|
30781
|
+
def update!(**args)
|
|
30782
|
+
@default_license_config = args[:default_license_config] if args.key?(:default_license_config)
|
|
30783
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
30784
|
+
@enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
|
|
30785
|
+
@enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
|
|
30786
|
+
@name = args[:name] if args.key?(:name)
|
|
30787
|
+
end
|
|
30788
|
+
end
|
|
30789
|
+
|
|
30625
30790
|
# Config to store data store type configuration for workspace data
|
|
30626
30791
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
|
30627
30792
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1beta
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.87.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 = "20251020"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -994,6 +994,12 @@ module Google
|
|
|
994
994
|
include Google::Apis::Core::JsonObjectSupport
|
|
995
995
|
end
|
|
996
996
|
|
|
997
|
+
class GoogleCloudDiscoveryengineV1UserStore
|
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
999
|
+
|
|
1000
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1001
|
+
end
|
|
1002
|
+
|
|
997
1003
|
class GoogleCloudDiscoveryengineV1WorkspaceConfig
|
|
998
1004
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
999
1005
|
|
|
@@ -1570,6 +1576,12 @@ module Google
|
|
|
1570
1576
|
include Google::Apis::Core::JsonObjectSupport
|
|
1571
1577
|
end
|
|
1572
1578
|
|
|
1579
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
|
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1581
|
+
|
|
1582
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1583
|
+
end
|
|
1584
|
+
|
|
1573
1585
|
class GoogleCloudDiscoveryengineV1alphaDestinationConfig
|
|
1574
1586
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1575
1587
|
|
|
@@ -4858,6 +4870,12 @@ module Google
|
|
|
4858
4870
|
include Google::Apis::Core::JsonObjectSupport
|
|
4859
4871
|
end
|
|
4860
4872
|
|
|
4873
|
+
class GoogleCloudDiscoveryengineV1betaUserStore
|
|
4874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4875
|
+
|
|
4876
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4877
|
+
end
|
|
4878
|
+
|
|
4861
4879
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
|
4862
4880
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4863
4881
|
|
|
@@ -6265,6 +6283,7 @@ module Google
|
|
|
6265
6283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6266
6284
|
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
|
|
6267
6285
|
|
|
6286
|
+
property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
|
|
6268
6287
|
end
|
|
6269
6288
|
end
|
|
6270
6289
|
|
|
@@ -6620,6 +6639,17 @@ module Google
|
|
|
6620
6639
|
end
|
|
6621
6640
|
end
|
|
6622
6641
|
|
|
6642
|
+
class GoogleCloudDiscoveryengineV1UserStore
|
|
6643
|
+
# @private
|
|
6644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6645
|
+
property :default_license_config, as: 'defaultLicenseConfig'
|
|
6646
|
+
property :display_name, as: 'displayName'
|
|
6647
|
+
property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate'
|
|
6648
|
+
property :enable_license_auto_register, as: 'enableLicenseAutoRegister'
|
|
6649
|
+
property :name, as: 'name'
|
|
6650
|
+
end
|
|
6651
|
+
end
|
|
6652
|
+
|
|
6623
6653
|
class GoogleCloudDiscoveryengineV1WorkspaceConfig
|
|
6624
6654
|
# @private
|
|
6625
6655
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7651,6 +7681,14 @@ module Google
|
|
|
7651
7681
|
end
|
|
7652
7682
|
end
|
|
7653
7683
|
|
|
7684
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
|
|
7685
|
+
# @private
|
|
7686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7687
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
|
7688
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
|
7689
|
+
end
|
|
7690
|
+
end
|
|
7691
|
+
|
|
7654
7692
|
class GoogleCloudDiscoveryengineV1alphaDestinationConfig
|
|
7655
7693
|
# @private
|
|
7656
7694
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8273,6 +8311,7 @@ module Google
|
|
|
8273
8311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8274
8312
|
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
|
|
8275
8313
|
|
|
8314
|
+
property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
|
|
8276
8315
|
end
|
|
8277
8316
|
end
|
|
8278
8317
|
|
|
@@ -11719,6 +11758,7 @@ module Google
|
|
|
11719
11758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11720
11759
|
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
|
|
11721
11760
|
|
|
11761
|
+
property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
|
|
11722
11762
|
end
|
|
11723
11763
|
end
|
|
11724
11764
|
|
|
@@ -13181,6 +13221,17 @@ module Google
|
|
|
13181
13221
|
end
|
|
13182
13222
|
end
|
|
13183
13223
|
|
|
13224
|
+
class GoogleCloudDiscoveryengineV1betaUserStore
|
|
13225
|
+
# @private
|
|
13226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13227
|
+
property :default_license_config, as: 'defaultLicenseConfig'
|
|
13228
|
+
property :display_name, as: 'displayName'
|
|
13229
|
+
property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate'
|
|
13230
|
+
property :enable_license_auto_register, as: 'enableLicenseAutoRegister'
|
|
13231
|
+
property :name, as: 'name'
|
|
13232
|
+
end
|
|
13233
|
+
end
|
|
13234
|
+
|
|
13184
13235
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
|
13185
13236
|
# @private
|
|
13186
13237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9717,6 +9717,145 @@ module Google
|
|
|
9717
9717
|
execute_or_queue_command(command, &block)
|
|
9718
9718
|
end
|
|
9719
9719
|
|
|
9720
|
+
# Creates a new User Store.
|
|
9721
|
+
# @param [String] parent
|
|
9722
|
+
# Required. The parent collection resource name, such as `projects/`project`/
|
|
9723
|
+
# locations/`location``.
|
|
9724
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore] google_cloud_discoveryengine_v1beta_user_store_object
|
|
9725
|
+
# @param [String] user_store_id
|
|
9726
|
+
# Required. The ID of the User Store to create. The ID must contain only letters
|
|
9727
|
+
# (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
|
|
9728
|
+
# length is 63 characters.
|
|
9729
|
+
# @param [String] fields
|
|
9730
|
+
# Selector specifying which fields to include in a partial response.
|
|
9731
|
+
# @param [String] quota_user
|
|
9732
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9733
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9734
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9735
|
+
# Request-specific options
|
|
9736
|
+
#
|
|
9737
|
+
# @yield [result, err] Result & error if block supplied
|
|
9738
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore] parsed result object
|
|
9739
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9740
|
+
#
|
|
9741
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore]
|
|
9742
|
+
#
|
|
9743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9746
|
+
def create_project_location_user_store(parent, google_cloud_discoveryengine_v1beta_user_store_object = nil, user_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9747
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/userStores', options)
|
|
9748
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore::Representation
|
|
9749
|
+
command.request_object = google_cloud_discoveryengine_v1beta_user_store_object
|
|
9750
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore::Representation
|
|
9751
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore
|
|
9752
|
+
command.params['parent'] = parent unless parent.nil?
|
|
9753
|
+
command.query['userStoreId'] = user_store_id unless user_store_id.nil?
|
|
9754
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9755
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9756
|
+
execute_or_queue_command(command, &block)
|
|
9757
|
+
end
|
|
9758
|
+
|
|
9759
|
+
# Deletes the User Store.
|
|
9760
|
+
# @param [String] name
|
|
9761
|
+
# Required. The name of the User Store to delete. Format: `projects/`project`/
|
|
9762
|
+
# locations/`location`/userStores/`user_store_id``
|
|
9763
|
+
# @param [String] fields
|
|
9764
|
+
# Selector specifying which fields to include in a partial response.
|
|
9765
|
+
# @param [String] quota_user
|
|
9766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9768
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9769
|
+
# Request-specific options
|
|
9770
|
+
#
|
|
9771
|
+
# @yield [result, err] Result & error if block supplied
|
|
9772
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
|
9773
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9774
|
+
#
|
|
9775
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
|
9776
|
+
#
|
|
9777
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9778
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9779
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9780
|
+
def delete_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
9781
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
|
9782
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
|
9783
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
|
9784
|
+
command.params['name'] = name unless name.nil?
|
|
9785
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9787
|
+
execute_or_queue_command(command, &block)
|
|
9788
|
+
end
|
|
9789
|
+
|
|
9790
|
+
# Gets the User Store.
|
|
9791
|
+
# @param [String] name
|
|
9792
|
+
# Required. The name of the User Store to get. Format: `projects/`project`/
|
|
9793
|
+
# locations/`location`/userStores/`user_store_id``
|
|
9794
|
+
# @param [String] fields
|
|
9795
|
+
# Selector specifying which fields to include in a partial response.
|
|
9796
|
+
# @param [String] quota_user
|
|
9797
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9798
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9799
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9800
|
+
# Request-specific options
|
|
9801
|
+
#
|
|
9802
|
+
# @yield [result, err] Result & error if block supplied
|
|
9803
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore] parsed result object
|
|
9804
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9805
|
+
#
|
|
9806
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore]
|
|
9807
|
+
#
|
|
9808
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9809
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9810
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9811
|
+
def get_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
9812
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
|
9813
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore::Representation
|
|
9814
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore
|
|
9815
|
+
command.params['name'] = name unless name.nil?
|
|
9816
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9818
|
+
execute_or_queue_command(command, &block)
|
|
9819
|
+
end
|
|
9820
|
+
|
|
9821
|
+
# Updates the User Store.
|
|
9822
|
+
# @param [String] name
|
|
9823
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
9824
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
9825
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
9826
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore] google_cloud_discoveryengine_v1beta_user_store_object
|
|
9827
|
+
# @param [String] update_mask
|
|
9828
|
+
# Optional. The list of fields to update.
|
|
9829
|
+
# @param [String] fields
|
|
9830
|
+
# Selector specifying which fields to include in a partial response.
|
|
9831
|
+
# @param [String] quota_user
|
|
9832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9834
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9835
|
+
# Request-specific options
|
|
9836
|
+
#
|
|
9837
|
+
# @yield [result, err] Result & error if block supplied
|
|
9838
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore] parsed result object
|
|
9839
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9840
|
+
#
|
|
9841
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore]
|
|
9842
|
+
#
|
|
9843
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9844
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9845
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9846
|
+
def patch_project_location_user_store(name, google_cloud_discoveryengine_v1beta_user_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9847
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
|
9848
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore::Representation
|
|
9849
|
+
command.request_object = google_cloud_discoveryengine_v1beta_user_store_object
|
|
9850
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore::Representation
|
|
9851
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserStore
|
|
9852
|
+
command.params['name'] = name unless name.nil?
|
|
9853
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
9854
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9855
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9856
|
+
execute_or_queue_command(command, &block)
|
|
9857
|
+
end
|
|
9858
|
+
|
|
9720
9859
|
# Lists the User Licenses.
|
|
9721
9860
|
# @param [String] parent
|
|
9722
9861
|
# Required. The parent UserStore resource name, format: `projects/`project`/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.87.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_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.87.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|