google-apis-discoveryengine_v1beta 0.60.0 → 0.61.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: 20f75df0ec59030e08a3cee0ff05b6537d9e708f04e9b3ee29fc947d60929553
4
- data.tar.gz: c13c31619a55b5dc5c2378dc5efd48154b84956128036a69d135cfeb9e80a7b8
3
+ metadata.gz: 1d1298adb4e0d684939b76876b3e4777be6d8088f0e13cdc3a90145789b1f329
4
+ data.tar.gz: 4b379bd97998cc8e8f182120657d681fb8707d2c1576851050c4b906a036e728
5
5
  SHA512:
6
- metadata.gz: 161fe8b718f1bc074d146845854a3857f84e49fc694f2392a01fcfefd6b34adee2d474ff331ecf0de4862d4f8c7136d244168f16ad82ce07562df22cb3d4b838
7
- data.tar.gz: 883e571c7e223004500d3dcaeb8ad2a528157c83ddba6a0bf6011b94ce02b3c16e1bdc0a81a3f8753fe479e062f20c01157b32e133942fc079f13a3740d953b2
6
+ metadata.gz: cc8717b5fc8328fb67eff25366e2c5eb65c562f29fa217378656a51feb625397d8a7ba9b9f9786ae8ff389d65a73cb64398bd47b2accc4a7f32d4e4cb2bb9492
7
+ data.tar.gz: b43a505bf70846a35ba5be970bc0f29160fa06e894be1697ccaccbcf0b1add4bfe224dfa6410c8c141d53a3692a82690d4faf55b30eb285b26e3f1f267b00669
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.61.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250331
6
+
3
7
  ### v0.60.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250322
@@ -6196,6 +6196,12 @@ module Google
6196
6196
  # @return [String]
6197
6197
  attr_accessor :realtime_state
6198
6198
 
6199
+ # The configuration for realtime sync to store additional params for realtime
6200
+ # sync.
6201
+ # Corresponds to the JSON property `realtimeSyncConfig`
6202
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig]
6203
+ attr_accessor :realtime_sync_config
6204
+
6199
6205
  # Required. The refresh interval for data sync. If duration is set to 0, the
6200
6206
  # data will be synced in real time. The streaming feature is not supported yet.
6201
6207
  # The minimum is 30 minutes and maximum is 7 days.
@@ -6256,6 +6262,7 @@ module Google
6256
6262
  @params = args[:params] if args.key?(:params)
6257
6263
  @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
6258
6264
  @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
6265
+ @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
6259
6266
  @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
6260
6267
  @state = args[:state] if args.key?(:state)
6261
6268
  @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -6265,6 +6272,33 @@ module Google
6265
6272
  end
6266
6273
  end
6267
6274
 
6275
+ # The configuration for realtime sync to store additional params for realtime
6276
+ # sync.
6277
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
6278
+ include Google::Apis::Core::Hashable
6279
+
6280
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
6281
+ # Corresponds to the JSON property `realtimeSyncSecret`
6282
+ # @return [String]
6283
+ attr_accessor :realtime_sync_secret
6284
+
6285
+ # Optional. Webhook url for the connector to specify additional params for
6286
+ # realtime sync.
6287
+ # Corresponds to the JSON property `webhookUri`
6288
+ # @return [String]
6289
+ attr_accessor :webhook_uri
6290
+
6291
+ def initialize(**args)
6292
+ update!(**args)
6293
+ end
6294
+
6295
+ # Update properties of this object
6296
+ def update!(**args)
6297
+ @realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
6298
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
6299
+ end
6300
+ end
6301
+
6268
6302
  # Represents an entity in the data source. For example, the `Account` object in
6269
6303
  # Salesforce.
6270
6304
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -16231,6 +16265,11 @@ module Google
16231
16265
  class GoogleCloudDiscoveryengineV1betaDocument
16232
16266
  include Google::Apis::Core::Hashable
16233
16267
 
16268
+ # ACL Information of the Document.
16269
+ # Corresponds to the JSON property `aclInfo`
16270
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo]
16271
+ attr_accessor :acl_info
16272
+
16234
16273
  # Unstructured data linked to this document.
16235
16274
  # Corresponds to the JSON property `content`
16236
16275
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent]
@@ -16299,6 +16338,7 @@ module Google
16299
16338
 
16300
16339
  # Update properties of this object
16301
16340
  def update!(**args)
16341
+ @acl_info = args[:acl_info] if args.key?(:acl_info)
16302
16342
  @content = args[:content] if args.key?(:content)
16303
16343
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
16304
16344
  @id = args[:id] if args.key?(:id)
@@ -16312,6 +16352,59 @@ module Google
16312
16352
  end
16313
16353
  end
16314
16354
 
16355
+ # ACL Information of the Document.
16356
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
16357
+ include Google::Apis::Core::Hashable
16358
+
16359
+ # Readers of the document.
16360
+ # Corresponds to the JSON property `readers`
16361
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction>]
16362
+ attr_accessor :readers
16363
+
16364
+ def initialize(**args)
16365
+ update!(**args)
16366
+ end
16367
+
16368
+ # Update properties of this object
16369
+ def update!(**args)
16370
+ @readers = args[:readers] if args.key?(:readers)
16371
+ end
16372
+ end
16373
+
16374
+ # AclRestriction to model complex inheritance restrictions. Example: Modeling a "
16375
+ # Both Permit" inheritance, where to access a child document, user needs to have
16376
+ # access to parent document. Document Hierarchy - Space_S --> Page_P. Readers:
16377
+ # Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL
16378
+ # Restriction - ` "acl_info": ` "readers": [ ` "principals": [ ` "group_id": "
16379
+ # group_1" `, ` "user_id": "user_1" ` ] ` ] ` ` Page_P ACL Restriction. ` "
16380
+ # acl_info": ` "readers": [ ` "principals": [ ` "group_id": "group_2" `, ` "
16381
+ # group_id": "group_3" `, ` "user_id": "user_2" ` ], `, ` "principals": [ ` "
16382
+ # group_id": "group_1" `, ` "user_id": "user_1" ` ], ` ] ` `
16383
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
16384
+ include Google::Apis::Core::Hashable
16385
+
16386
+ # All users within the Identity Provider.
16387
+ # Corresponds to the JSON property `idpWide`
16388
+ # @return [Boolean]
16389
+ attr_accessor :idp_wide
16390
+ alias_method :idp_wide?, :idp_wide
16391
+
16392
+ # List of principals.
16393
+ # Corresponds to the JSON property `principals`
16394
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal>]
16395
+ attr_accessor :principals
16396
+
16397
+ def initialize(**args)
16398
+ update!(**args)
16399
+ end
16400
+
16401
+ # Update properties of this object
16402
+ def update!(**args)
16403
+ @idp_wide = args[:idp_wide] if args.key?(:idp_wide)
16404
+ @principals = args[:principals] if args.key?(:principals)
16405
+ end
16406
+ end
16407
+
16315
16408
  # Unstructured data linked to this document.
16316
16409
  class GoogleCloudDiscoveryengineV1betaDocumentContent
16317
16410
  include Google::Apis::Core::Hashable
@@ -19114,6 +19207,37 @@ module Google
19114
19207
  end
19115
19208
  end
19116
19209
 
19210
+ # Principal identifier of a user or a group.
19211
+ class GoogleCloudDiscoveryengineV1betaPrincipal
19212
+ include Google::Apis::Core::Hashable
19213
+
19214
+ # Group identifier. For Google Workspace user account, group_id should be the
19215
+ # google workspace group email. For non-google identity provider user account,
19216
+ # group_id is the mapped group identifier configured during the workforcepool
19217
+ # config.
19218
+ # Corresponds to the JSON property `groupId`
19219
+ # @return [String]
19220
+ attr_accessor :group_id
19221
+
19222
+ # User identifier. For Google Workspace user account, user_id should be the
19223
+ # google workspace user email. For non-google identity provider user account,
19224
+ # user_id is the mapped user identifier configured during the workforcepool
19225
+ # config.
19226
+ # Corresponds to the JSON property `userId`
19227
+ # @return [String]
19228
+ attr_accessor :user_id
19229
+
19230
+ def initialize(**args)
19231
+ update!(**args)
19232
+ end
19233
+
19234
+ # Update properties of this object
19235
+ def update!(**args)
19236
+ @group_id = args[:group_id] if args.key?(:group_id)
19237
+ @user_id = args[:user_id] if args.key?(:user_id)
19238
+ end
19239
+ end
19240
+
19117
19241
  # Metadata and configurations for a Google Cloud project in the service.
19118
19242
  class GoogleCloudDiscoveryengineV1betaProject
19119
19243
  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.60.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250322"
25
+ REVISION = "20250331"
26
26
  end
27
27
  end
28
28
  end
@@ -1006,6 +1006,12 @@ module Google
1006
1006
  include Google::Apis::Core::JsonObjectSupport
1007
1007
  end
1008
1008
 
1009
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1009
1015
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
1010
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
1011
1017
 
@@ -2626,6 +2632,18 @@ module Google
2626
2632
  include Google::Apis::Core::JsonObjectSupport
2627
2633
  end
2628
2634
 
2635
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2629
2647
  class GoogleCloudDiscoveryengineV1betaDocumentContent
2630
2648
  class Representation < Google::Apis::Core::JsonRepresentation; end
2631
2649
 
@@ -3154,6 +3172,12 @@ module Google
3154
3172
  include Google::Apis::Core::JsonObjectSupport
3155
3173
  end
3156
3174
 
3175
+ class GoogleCloudDiscoveryengineV1betaPrincipal
3176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3177
+
3178
+ include Google::Apis::Core::JsonObjectSupport
3179
+ end
3180
+
3157
3181
  class GoogleCloudDiscoveryengineV1betaProject
3158
3182
  class Representation < Google::Apis::Core::JsonRepresentation; end
3159
3183
 
@@ -5645,6 +5669,8 @@ module Google
5645
5669
  hash :params, as: 'params'
5646
5670
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
5647
5671
  property :realtime_state, as: 'realtimeState'
5672
+ property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
5673
+
5648
5674
  property :refresh_interval, as: 'refreshInterval'
5649
5675
  property :state, as: 'state'
5650
5676
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -5654,6 +5680,14 @@ module Google
5654
5680
  end
5655
5681
  end
5656
5682
 
5683
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
5684
+ # @private
5685
+ class Representation < Google::Apis::Core::JsonRepresentation
5686
+ property :realtime_sync_secret, as: 'realtimeSyncSecret'
5687
+ property :webhook_uri, as: 'webhookUri'
5688
+ end
5689
+ end
5690
+
5657
5691
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
5658
5692
  # @private
5659
5693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8368,6 +8402,8 @@ module Google
8368
8402
  class GoogleCloudDiscoveryengineV1betaDocument
8369
8403
  # @private
8370
8404
  class Representation < Google::Apis::Core::JsonRepresentation
8405
+ property :acl_info, as: 'aclInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo::Representation
8406
+
8371
8407
  property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent::Representation
8372
8408
 
8373
8409
  hash :derived_struct_data, as: 'derivedStructData'
@@ -8383,6 +8419,23 @@ module Google
8383
8419
  end
8384
8420
  end
8385
8421
 
8422
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
8423
+ # @private
8424
+ class Representation < Google::Apis::Core::JsonRepresentation
8425
+ collection :readers, as: 'readers', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction::Representation
8426
+
8427
+ end
8428
+ end
8429
+
8430
+ class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
8431
+ # @private
8432
+ class Representation < Google::Apis::Core::JsonRepresentation
8433
+ property :idp_wide, as: 'idpWide'
8434
+ collection :principals, as: 'principals', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal::Representation
8435
+
8436
+ end
8437
+ end
8438
+
8386
8439
  class GoogleCloudDiscoveryengineV1betaDocumentContent
8387
8440
  # @private
8388
8441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9230,6 +9283,14 @@ module Google
9230
9283
  end
9231
9284
  end
9232
9285
 
9286
+ class GoogleCloudDiscoveryengineV1betaPrincipal
9287
+ # @private
9288
+ class Representation < Google::Apis::Core::JsonRepresentation
9289
+ property :group_id, as: 'groupId'
9290
+ property :user_id, as: 'userId'
9291
+ end
9292
+ end
9293
+
9233
9294
  class GoogleCloudDiscoveryengineV1betaProject
9234
9295
  # @private
9235
9296
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.61.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: