google-apis-discoveryengine_v1 0.32.0 → 0.33.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: 4ceb8679fe5b611eb660df37c94216ebe043368ab9b51d356b88696201c0e6bb
4
- data.tar.gz: 760eaab856d0defe7fa841580ffbc56584697cdaf09f3b3d247e20fa2a25e3f8
3
+ metadata.gz: d930aa0ce83fc8032359af1e9bebb290ca29e9f64e536f0eee01776f0b2812f3
4
+ data.tar.gz: 61cc529a5701fbf682f48825fca47142c5a5c30aed8fba156be6101e1f3fe37d
5
5
  SHA512:
6
- metadata.gz: e10f6b146bde1e13549bc07523fa536d8043265ae210e00c8cd49f099a0a2412ae2b70908aab2000ed14228a6bd0d82846fc6fc5196e1db25ab7ebe95b20f5cb
7
- data.tar.gz: 2b106b640f17b07ef6c9b7540901b91be672158be789123bc96d3cd1987f7b1f2afcc8812b196e0e9c00665e7ba551407818ef0e1ce61ba3b1d682744fb9dcfb
6
+ metadata.gz: 21c047de656506e56e53e3d8b5d5b27f617fd7b98a51723b040119fd94e346616855677d7c7d9745d13e7eb0d2a8d1d6f9fd026e78ef7a4675146b002ebf9021
7
+ data.tar.gz: ef86a8bad5f1ff2b0954171f1a1c4823d25006e487116a8d7d505d1d59d205c07d0950f14fcbe7d33cfe05e85a1de9fea570d1e05e2cf6757947b06a16cfdc3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.33.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250331
6
+
3
7
  ### v0.32.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250322
@@ -4807,6 +4807,11 @@ module Google
4807
4807
  class GoogleCloudDiscoveryengineV1Document
4808
4808
  include Google::Apis::Core::Hashable
4809
4809
 
4810
+ # ACL Information of the Document.
4811
+ # Corresponds to the JSON property `aclInfo`
4812
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfo]
4813
+ attr_accessor :acl_info
4814
+
4810
4815
  # Unstructured data linked to this document.
4811
4816
  # Corresponds to the JSON property `content`
4812
4817
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentContent]
@@ -4875,6 +4880,7 @@ module Google
4875
4880
 
4876
4881
  # Update properties of this object
4877
4882
  def update!(**args)
4883
+ @acl_info = args[:acl_info] if args.key?(:acl_info)
4878
4884
  @content = args[:content] if args.key?(:content)
4879
4885
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
4880
4886
  @id = args[:id] if args.key?(:id)
@@ -4888,6 +4894,59 @@ module Google
4888
4894
  end
4889
4895
  end
4890
4896
 
4897
+ # ACL Information of the Document.
4898
+ class GoogleCloudDiscoveryengineV1DocumentAclInfo
4899
+ include Google::Apis::Core::Hashable
4900
+
4901
+ # Readers of the document.
4902
+ # Corresponds to the JSON property `readers`
4903
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction>]
4904
+ attr_accessor :readers
4905
+
4906
+ def initialize(**args)
4907
+ update!(**args)
4908
+ end
4909
+
4910
+ # Update properties of this object
4911
+ def update!(**args)
4912
+ @readers = args[:readers] if args.key?(:readers)
4913
+ end
4914
+ end
4915
+
4916
+ # AclRestriction to model complex inheritance restrictions. Example: Modeling a "
4917
+ # Both Permit" inheritance, where to access a child document, user needs to have
4918
+ # access to parent document. Document Hierarchy - Space_S --> Page_P. Readers:
4919
+ # Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL
4920
+ # Restriction - ` "acl_info": ` "readers": [ ` "principals": [ ` "group_id": "
4921
+ # group_1" `, ` "user_id": "user_1" ` ] ` ] ` ` Page_P ACL Restriction. ` "
4922
+ # acl_info": ` "readers": [ ` "principals": [ ` "group_id": "group_2" `, ` "
4923
+ # group_id": "group_3" `, ` "user_id": "user_2" ` ], `, ` "principals": [ ` "
4924
+ # group_id": "group_1" `, ` "user_id": "user_1" ` ], ` ] ` `
4925
+ class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction
4926
+ include Google::Apis::Core::Hashable
4927
+
4928
+ # All users within the Identity Provider.
4929
+ # Corresponds to the JSON property `idpWide`
4930
+ # @return [Boolean]
4931
+ attr_accessor :idp_wide
4932
+ alias_method :idp_wide?, :idp_wide
4933
+
4934
+ # List of principals.
4935
+ # Corresponds to the JSON property `principals`
4936
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Principal>]
4937
+ attr_accessor :principals
4938
+
4939
+ def initialize(**args)
4940
+ update!(**args)
4941
+ end
4942
+
4943
+ # Update properties of this object
4944
+ def update!(**args)
4945
+ @idp_wide = args[:idp_wide] if args.key?(:idp_wide)
4946
+ @principals = args[:principals] if args.key?(:principals)
4947
+ end
4948
+ end
4949
+
4891
4950
  # Unstructured data linked to this document.
4892
4951
  class GoogleCloudDiscoveryengineV1DocumentContent
4893
4952
  include Google::Apis::Core::Hashable
@@ -7100,6 +7159,37 @@ module Google
7100
7159
  end
7101
7160
  end
7102
7161
 
7162
+ # Principal identifier of a user or a group.
7163
+ class GoogleCloudDiscoveryengineV1Principal
7164
+ include Google::Apis::Core::Hashable
7165
+
7166
+ # Group identifier. For Google Workspace user account, group_id should be the
7167
+ # google workspace group email. For non-google identity provider user account,
7168
+ # group_id is the mapped group identifier configured during the workforcepool
7169
+ # config.
7170
+ # Corresponds to the JSON property `groupId`
7171
+ # @return [String]
7172
+ attr_accessor :group_id
7173
+
7174
+ # User identifier. For Google Workspace user account, user_id should be the
7175
+ # google workspace user email. For non-google identity provider user account,
7176
+ # user_id is the mapped user identifier configured during the workforcepool
7177
+ # config.
7178
+ # Corresponds to the JSON property `userId`
7179
+ # @return [String]
7180
+ attr_accessor :user_id
7181
+
7182
+ def initialize(**args)
7183
+ update!(**args)
7184
+ end
7185
+
7186
+ # Update properties of this object
7187
+ def update!(**args)
7188
+ @group_id = args[:group_id] if args.key?(:group_id)
7189
+ @user_id = args[:user_id] if args.key?(:user_id)
7190
+ end
7191
+ end
7192
+
7103
7193
  # Metadata and configurations for a Google Cloud project in the service.
7104
7194
  class GoogleCloudDiscoveryengineV1Project
7105
7195
  include Google::Apis::Core::Hashable
@@ -13121,6 +13211,12 @@ module Google
13121
13211
  # @return [String]
13122
13212
  attr_accessor :realtime_state
13123
13213
 
13214
+ # The configuration for realtime sync to store additional params for realtime
13215
+ # sync.
13216
+ # Corresponds to the JSON property `realtimeSyncConfig`
13217
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig]
13218
+ attr_accessor :realtime_sync_config
13219
+
13124
13220
  # Required. The refresh interval for data sync. If duration is set to 0, the
13125
13221
  # data will be synced in real time. The streaming feature is not supported yet.
13126
13222
  # The minimum is 30 minutes and maximum is 7 days.
@@ -13181,6 +13277,7 @@ module Google
13181
13277
  @params = args[:params] if args.key?(:params)
13182
13278
  @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
13183
13279
  @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
13280
+ @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
13184
13281
  @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
13185
13282
  @state = args[:state] if args.key?(:state)
13186
13283
  @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -13190,6 +13287,33 @@ module Google
13190
13287
  end
13191
13288
  end
13192
13289
 
13290
+ # The configuration for realtime sync to store additional params for realtime
13291
+ # sync.
13292
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
13293
+ include Google::Apis::Core::Hashable
13294
+
13295
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
13296
+ # Corresponds to the JSON property `realtimeSyncSecret`
13297
+ # @return [String]
13298
+ attr_accessor :realtime_sync_secret
13299
+
13300
+ # Optional. Webhook url for the connector to specify additional params for
13301
+ # realtime sync.
13302
+ # Corresponds to the JSON property `webhookUri`
13303
+ # @return [String]
13304
+ attr_accessor :webhook_uri
13305
+
13306
+ def initialize(**args)
13307
+ update!(**args)
13308
+ end
13309
+
13310
+ # Update properties of this object
13311
+ def update!(**args)
13312
+ @realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
13313
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
13314
+ end
13315
+ end
13316
+
13193
13317
  # Represents an entity in the data source. For example, the `Account` object in
13194
13318
  # Salesforce.
13195
13319
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -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.32.0"
19
+ GEM_VERSION = "0.33.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
@@ -808,6 +808,18 @@ module Google
808
808
  include Google::Apis::Core::JsonObjectSupport
809
809
  end
810
810
 
811
+ class GoogleCloudDiscoveryengineV1DocumentAclInfo
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
811
823
  class GoogleCloudDiscoveryengineV1DocumentContent
812
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
825
 
@@ -1216,6 +1228,12 @@ module Google
1216
1228
  include Google::Apis::Core::JsonObjectSupport
1217
1229
  end
1218
1230
 
1231
+ class GoogleCloudDiscoveryengineV1Principal
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1219
1237
  class GoogleCloudDiscoveryengineV1Project
1220
1238
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1239
 
@@ -2098,6 +2116,12 @@ module Google
2098
2116
  include Google::Apis::Core::JsonObjectSupport
2099
2117
  end
2100
2118
 
2119
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
2120
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2121
+
2122
+ include Google::Apis::Core::JsonObjectSupport
2123
+ end
2124
+
2101
2125
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
2102
2126
  class Representation < Google::Apis::Core::JsonRepresentation; end
2103
2127
 
@@ -5101,6 +5125,8 @@ module Google
5101
5125
  class GoogleCloudDiscoveryengineV1Document
5102
5126
  # @private
5103
5127
  class Representation < Google::Apis::Core::JsonRepresentation
5128
+ property :acl_info, as: 'aclInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfo::Representation
5129
+
5104
5130
  property :content, as: 'content', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentContent, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentContent::Representation
5105
5131
 
5106
5132
  hash :derived_struct_data, as: 'derivedStructData'
@@ -5116,6 +5142,23 @@ module Google
5116
5142
  end
5117
5143
  end
5118
5144
 
5145
+ class GoogleCloudDiscoveryengineV1DocumentAclInfo
5146
+ # @private
5147
+ class Representation < Google::Apis::Core::JsonRepresentation
5148
+ collection :readers, as: 'readers', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction::Representation
5149
+
5150
+ end
5151
+ end
5152
+
5153
+ class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction
5154
+ # @private
5155
+ class Representation < Google::Apis::Core::JsonRepresentation
5156
+ property :idp_wide, as: 'idpWide'
5157
+ collection :principals, as: 'principals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Principal, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Principal::Representation
5158
+
5159
+ end
5160
+ end
5161
+
5119
5162
  class GoogleCloudDiscoveryengineV1DocumentContent
5120
5163
  # @private
5121
5164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5770,6 +5813,14 @@ module Google
5770
5813
  end
5771
5814
  end
5772
5815
 
5816
+ class GoogleCloudDiscoveryengineV1Principal
5817
+ # @private
5818
+ class Representation < Google::Apis::Core::JsonRepresentation
5819
+ property :group_id, as: 'groupId'
5820
+ property :user_id, as: 'userId'
5821
+ end
5822
+ end
5823
+
5773
5824
  class GoogleCloudDiscoveryengineV1Project
5774
5825
  # @private
5775
5826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7313,6 +7364,8 @@ module Google
7313
7364
  hash :params, as: 'params'
7314
7365
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
7315
7366
  property :realtime_state, as: 'realtimeState'
7367
+ property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
7368
+
7316
7369
  property :refresh_interval, as: 'refreshInterval'
7317
7370
  property :state, as: 'state'
7318
7371
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -7322,6 +7375,14 @@ module Google
7322
7375
  end
7323
7376
  end
7324
7377
 
7378
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
7379
+ # @private
7380
+ class Representation < Google::Apis::Core::JsonRepresentation
7381
+ property :realtime_sync_secret, as: 'realtimeSyncSecret'
7382
+ property :webhook_uri, as: 'webhookUri'
7383
+ end
7384
+ end
7385
+
7325
7386
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
7326
7387
  # @private
7327
7388
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.33.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: