google-apis-discoveryengine_v1 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee49b1bf268d9daf09a17cec0b4236b127f53410f403a1adf083bb939e5122c5
4
- data.tar.gz: c4f0cc1595392f2f7dd6f6b35bfae3462562a7ca33c2d615159d7bc873bfc472
3
+ metadata.gz: 7796ec667245a5ea02e96e76d1d32e2a8efe9ecc4f5bbe5dbe2f61bad53342ab
4
+ data.tar.gz: 377ace7bcd7708e0c6887f7cade3b2e0ae13984e3445f5e2ed6cad77e2c6bfc2
5
5
  SHA512:
6
- metadata.gz: c49af7964e53800f856bf43a8b728478bf4b595ea67a78aed604523ea70b9b8cc1f17b2be9597b1646149ebefa9b4ee0cc1c8170dc67b34440965dacd251a190
7
- data.tar.gz: d313c9577233d234012ac0ea7f3ebf4d5aad25b0b0270e8600961e5d9376392087e43593cf2df2587a13007b6dbed16a0a9fa9afda1d2d2a85c42acfdb9e4bde
6
+ metadata.gz: ca2571bebad9cd68fe3dc52baccf0329f740ccf55c9008e929c822a656d110cc68111d87baecf29e55dc94b49e09650e9748f6266a6d394677d0993d2c4c9e7a
7
+ data.tar.gz: 45da4bcf579acf43348d9167e9c7d64cd5edf75246a601644ab91c5caec4e2e17cd32b58da47b652bc0ca97bddb57181aa8fbe17068263b5a265c2b4cd83efd9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.49.0 (2025-08-31)
4
+
5
+ * Regenerated from discovery document revision 20250824
6
+
3
7
  ### v0.48.0 (2025-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20250816
@@ -1432,6 +1432,33 @@ module Google
1432
1432
  end
1433
1433
  end
1434
1434
 
1435
+ # Access Control Configuration.
1436
+ class GoogleCloudDiscoveryengineV1AclConfig
1437
+ include Google::Apis::Core::Hashable
1438
+
1439
+ # Identity Provider Config.
1440
+ # Corresponds to the JSON property `idpConfig`
1441
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfig]
1442
+ attr_accessor :idp_config
1443
+
1444
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
1445
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
1446
+ # string with a length limit of 1024 characters.
1447
+ # Corresponds to the JSON property `name`
1448
+ # @return [String]
1449
+ attr_accessor :name
1450
+
1451
+ def initialize(**args)
1452
+ update!(**args)
1453
+ end
1454
+
1455
+ # Update properties of this object
1456
+ def update!(**args)
1457
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
1458
+ @name = args[:name] if args.key?(:name)
1459
+ end
1460
+ end
1461
+
1435
1462
  # Request message for CompletionService.AdvancedCompleteQuery method. .
1436
1463
  class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
1437
1464
  include Google::Apis::Core::Hashable
@@ -7384,6 +7411,13 @@ module Google
7384
7411
  class GoogleCloudDiscoveryengineV1Engine
7385
7412
  include Google::Apis::Core::Hashable
7386
7413
 
7414
+ # Optional. Immutable. This the application type which this engine resource
7415
+ # represents. NOTE: this is a new concept independ of existing industry vertical
7416
+ # or solution type.
7417
+ # Corresponds to the JSON property `appType`
7418
+ # @return [String]
7419
+ attr_accessor :app_type
7420
+
7387
7421
  # Configurations for a Chat Engine.
7388
7422
  # Corresponds to the JSON property `chatEngineConfig`
7389
7423
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig]
@@ -7479,6 +7513,7 @@ module Google
7479
7513
 
7480
7514
  # Update properties of this object
7481
7515
  def update!(**args)
7516
+ @app_type = args[:app_type] if args.key?(:app_type)
7482
7517
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
7483
7518
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
7484
7519
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -8236,6 +8271,50 @@ module Google
8236
8271
  end
8237
8272
  end
8238
8273
 
8274
+ # Identity Provider Config.
8275
+ class GoogleCloudDiscoveryengineV1IdpConfig
8276
+ include Google::Apis::Core::Hashable
8277
+
8278
+ # Third party IDP Config.
8279
+ # Corresponds to the JSON property `externalIdpConfig`
8280
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig]
8281
+ attr_accessor :external_idp_config
8282
+
8283
+ # Identity provider type configured.
8284
+ # Corresponds to the JSON property `idpType`
8285
+ # @return [String]
8286
+ attr_accessor :idp_type
8287
+
8288
+ def initialize(**args)
8289
+ update!(**args)
8290
+ end
8291
+
8292
+ # Update properties of this object
8293
+ def update!(**args)
8294
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
8295
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
8296
+ end
8297
+ end
8298
+
8299
+ # Third party IDP Config.
8300
+ class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
8301
+ include Google::Apis::Core::Hashable
8302
+
8303
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
8304
+ # Corresponds to the JSON property `workforcePoolName`
8305
+ # @return [String]
8306
+ attr_accessor :workforce_pool_name
8307
+
8308
+ def initialize(**args)
8309
+ update!(**args)
8310
+ end
8311
+
8312
+ # Update properties of this object
8313
+ def update!(**args)
8314
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
8315
+ end
8316
+ end
8317
+
8239
8318
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
8240
8319
  # This will be returned by the google.longrunning.Operation.metadata field.
8241
8320
  class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
@@ -17237,6 +17316,13 @@ module Google
17237
17316
  class GoogleCloudDiscoveryengineV1alphaEngine
17238
17317
  include Google::Apis::Core::Hashable
17239
17318
 
17319
+ # Optional. Immutable. This the application type which this engine resource
17320
+ # represents. NOTE: this is a new concept independ of existing industry vertical
17321
+ # or solution type.
17322
+ # Corresponds to the JSON property `appType`
17323
+ # @return [String]
17324
+ attr_accessor :app_type
17325
+
17240
17326
  # Configurations for a Chat Engine.
17241
17327
  # Corresponds to the JSON property `chatEngineConfig`
17242
17328
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
@@ -17342,6 +17428,7 @@ module Google
17342
17428
 
17343
17429
  # Update properties of this object
17344
17430
  def update!(**args)
17431
+ @app_type = args[:app_type] if args.key?(:app_type)
17345
17432
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
17346
17433
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
17347
17434
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -21974,6 +22061,33 @@ module Google
21974
22061
  end
21975
22062
  end
21976
22063
 
22064
+ # Access Control Configuration.
22065
+ class GoogleCloudDiscoveryengineV1betaAclConfig
22066
+ include Google::Apis::Core::Hashable
22067
+
22068
+ # Identity Provider Config.
22069
+ # Corresponds to the JSON property `idpConfig`
22070
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig]
22071
+ attr_accessor :idp_config
22072
+
22073
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
22074
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
22075
+ # string with a length limit of 1024 characters.
22076
+ # Corresponds to the JSON property `name`
22077
+ # @return [String]
22078
+ attr_accessor :name
22079
+
22080
+ def initialize(**args)
22081
+ update!(**args)
22082
+ end
22083
+
22084
+ # Update properties of this object
22085
+ def update!(**args)
22086
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
22087
+ @name = args[:name] if args.key?(:name)
22088
+ end
22089
+ end
22090
+
21977
22091
  # Configuration data for advance site search.
21978
22092
  class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
21979
22093
  include Google::Apis::Core::Hashable
@@ -23517,6 +23631,13 @@ module Google
23517
23631
  class GoogleCloudDiscoveryengineV1betaEngine
23518
23632
  include Google::Apis::Core::Hashable
23519
23633
 
23634
+ # Optional. Immutable. This the application type which this engine resource
23635
+ # represents. NOTE: this is a new concept independ of existing industry vertical
23636
+ # or solution type.
23637
+ # Corresponds to the JSON property `appType`
23638
+ # @return [String]
23639
+ attr_accessor :app_type
23640
+
23520
23641
  # Configurations for a Chat Engine.
23521
23642
  # Corresponds to the JSON property `chatEngineConfig`
23522
23643
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig]
@@ -23612,6 +23733,7 @@ module Google
23612
23733
 
23613
23734
  # Update properties of this object
23614
23735
  def update!(**args)
23736
+ @app_type = args[:app_type] if args.key?(:app_type)
23615
23737
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
23616
23738
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
23617
23739
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -24120,6 +24242,50 @@ module Google
24120
24242
  end
24121
24243
  end
24122
24244
 
24245
+ # Identity Provider Config.
24246
+ class GoogleCloudDiscoveryengineV1betaIdpConfig
24247
+ include Google::Apis::Core::Hashable
24248
+
24249
+ # Third party IDP Config.
24250
+ # Corresponds to the JSON property `externalIdpConfig`
24251
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig]
24252
+ attr_accessor :external_idp_config
24253
+
24254
+ # Identity provider type configured.
24255
+ # Corresponds to the JSON property `idpType`
24256
+ # @return [String]
24257
+ attr_accessor :idp_type
24258
+
24259
+ def initialize(**args)
24260
+ update!(**args)
24261
+ end
24262
+
24263
+ # Update properties of this object
24264
+ def update!(**args)
24265
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
24266
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
24267
+ end
24268
+ end
24269
+
24270
+ # Third party IDP Config.
24271
+ class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
24272
+ include Google::Apis::Core::Hashable
24273
+
24274
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
24275
+ # Corresponds to the JSON property `workforcePoolName`
24276
+ # @return [String]
24277
+ attr_accessor :workforce_pool_name
24278
+
24279
+ def initialize(**args)
24280
+ update!(**args)
24281
+ end
24282
+
24283
+ # Update properties of this object
24284
+ def update!(**args)
24285
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
24286
+ end
24287
+ end
24288
+
24123
24289
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
24124
24290
  # This will be returned by the google.longrunning.Operation.metadata field.
24125
24291
  class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.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 = "20250816"
25
+ REVISION = "20250824"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GoogleCloudDiscoveryengineV1AclConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -1330,6 +1336,18 @@ module Google
1330
1336
  include Google::Apis::Core::JsonObjectSupport
1331
1337
  end
1332
1338
 
1339
+ class GoogleCloudDiscoveryengineV1IdpConfig
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1345
+ class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1333
1351
  class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
1334
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1353
 
@@ -3448,6 +3466,12 @@ module Google
3448
3466
  include Google::Apis::Core::JsonObjectSupport
3449
3467
  end
3450
3468
 
3469
+ class GoogleCloudDiscoveryengineV1betaAclConfig
3470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3471
+
3472
+ include Google::Apis::Core::JsonObjectSupport
3473
+ end
3474
+
3451
3475
  class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
3452
3476
  class Representation < Google::Apis::Core::JsonRepresentation; end
3453
3477
 
@@ -3814,6 +3838,18 @@ module Google
3814
3838
  include Google::Apis::Core::JsonObjectSupport
3815
3839
  end
3816
3840
 
3841
+ class GoogleCloudDiscoveryengineV1betaIdpConfig
3842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3843
+
3844
+ include Google::Apis::Core::JsonObjectSupport
3845
+ end
3846
+
3847
+ class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
3848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3849
+
3850
+ include Google::Apis::Core::JsonObjectSupport
3851
+ end
3852
+
3817
3853
  class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
3818
3854
  class Representation < Google::Apis::Core::JsonRepresentation; end
3819
3855
 
@@ -4660,6 +4696,15 @@ module Google
4660
4696
  end
4661
4697
  end
4662
4698
 
4699
+ class GoogleCloudDiscoveryengineV1AclConfig
4700
+ # @private
4701
+ class Representation < Google::Apis::Core::JsonRepresentation
4702
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfig::Representation
4703
+
4704
+ property :name, as: 'name'
4705
+ end
4706
+ end
4707
+
4663
4708
  class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
4664
4709
  # @private
4665
4710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6335,6 +6380,7 @@ module Google
6335
6380
  class GoogleCloudDiscoveryengineV1Engine
6336
6381
  # @private
6337
6382
  class Representation < Google::Apis::Core::JsonRepresentation
6383
+ property :app_type, as: 'appType'
6338
6384
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig::Representation
6339
6385
 
6340
6386
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata::Representation
@@ -6555,6 +6601,22 @@ module Google
6555
6601
  end
6556
6602
  end
6557
6603
 
6604
+ class GoogleCloudDiscoveryengineV1IdpConfig
6605
+ # @private
6606
+ class Representation < Google::Apis::Core::JsonRepresentation
6607
+ property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig::Representation
6608
+
6609
+ property :idp_type, as: 'idpType'
6610
+ end
6611
+ end
6612
+
6613
+ class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
6614
+ # @private
6615
+ class Representation < Google::Apis::Core::JsonRepresentation
6616
+ property :workforce_pool_name, as: 'workforcePoolName'
6617
+ end
6618
+ end
6619
+
6558
6620
  class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
6559
6621
  # @private
6560
6622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8957,6 +9019,7 @@ module Google
8957
9019
  class GoogleCloudDiscoveryengineV1alphaEngine
8958
9020
  # @private
8959
9021
  class Representation < Google::Apis::Core::JsonRepresentation
9022
+ property :app_type, as: 'appType'
8960
9023
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
8961
9024
 
8962
9025
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
@@ -10177,6 +10240,15 @@ module Google
10177
10240
  end
10178
10241
  end
10179
10242
 
10243
+ class GoogleCloudDiscoveryengineV1betaAclConfig
10244
+ # @private
10245
+ class Representation < Google::Apis::Core::JsonRepresentation
10246
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig::Representation
10247
+
10248
+ property :name, as: 'name'
10249
+ end
10250
+ end
10251
+
10180
10252
  class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
10181
10253
  # @private
10182
10254
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10619,6 +10691,7 @@ module Google
10619
10691
  class GoogleCloudDiscoveryengineV1betaEngine
10620
10692
  # @private
10621
10693
  class Representation < Google::Apis::Core::JsonRepresentation
10694
+ property :app_type, as: 'appType'
10622
10695
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig::Representation
10623
10696
 
10624
10697
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata::Representation
@@ -10780,6 +10853,22 @@ module Google
10780
10853
  end
10781
10854
  end
10782
10855
 
10856
+ class GoogleCloudDiscoveryengineV1betaIdpConfig
10857
+ # @private
10858
+ class Representation < Google::Apis::Core::JsonRepresentation
10859
+ property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig::Representation
10860
+
10861
+ property :idp_type, as: 'idpType'
10862
+ end
10863
+ end
10864
+
10865
+ class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
10866
+ # @private
10867
+ class Representation < Google::Apis::Core::JsonRepresentation
10868
+ property :workforce_pool_name, as: 'workforcePoolName'
10869
+ end
10870
+ end
10871
+
10783
10872
  class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
10784
10873
  # @private
10785
10874
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -133,6 +133,38 @@ module Google
133
133
  execute_or_queue_command(command, &block)
134
134
  end
135
135
 
136
+ # Gets the AclConfig.
137
+ # @param [String] name
138
+ # Required. Resource name of AclConfig, such as `projects/*/locations/*/
139
+ # aclConfig`. If the caller does not have permission to access the AclConfig,
140
+ # regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def get_project_location_acl_config(name, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:get, 'v1/{+name}', options)
160
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
161
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig
162
+ command.params['name'] = name unless name.nil?
163
+ command.query['fields'] = fields unless fields.nil?
164
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
165
+ execute_or_queue_command(command, &block)
166
+ end
167
+
136
168
  # Gets the CmekConfig.
137
169
  # @param [String] name
138
170
  # Required. Resource name of CmekConfig, such as `projects/*/locations/*/
@@ -166,6 +198,43 @@ module Google
166
198
  execute_or_queue_command(command, &block)
167
199
  end
168
200
 
201
+ # Default ACL configuration for use in a location of a customer's project.
202
+ # Updates will only reflect to new data stores. Existing data stores will still
203
+ # use the old value.
204
+ # @param [String] name
205
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
206
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
207
+ # string with a length limit of 1024 characters.
208
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] google_cloud_discoveryengine_v1_acl_config_object
209
+ # @param [String] fields
210
+ # Selector specifying which fields to include in a partial response.
211
+ # @param [String] quota_user
212
+ # Available to use for quota purposes for server-side applications. Can be any
213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
214
+ # @param [Google::Apis::RequestOptions] options
215
+ # Request-specific options
216
+ #
217
+ # @yield [result, err] Result & error if block supplied
218
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] parsed result object
219
+ # @yieldparam err [StandardError] error object if request failed
220
+ #
221
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig]
222
+ #
223
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
226
+ def update_project_location_acl_config(name, google_cloud_discoveryengine_v1_acl_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
227
+ command = make_simple_command(:patch, 'v1/{+name}', options)
228
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
229
+ command.request_object = google_cloud_discoveryengine_v1_acl_config_object
230
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
231
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig
232
+ command.params['name'] = name unless name.nil?
233
+ command.query['fields'] = fields unless fields.nil?
234
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
235
+ execute_or_queue_command(command, &block)
236
+ end
237
+
169
238
  # Provisions a CMEK key for use in a location of a customer's project. This
170
239
  # method will also conduct location validation on the provided cmekConfig to
171
240
  # make sure the key is valid and can be used in the selected location.
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.48.0
4
+ version: 0.49.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.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.49.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: