google-apis-discoveryengine_v1beta 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7f3c93038726236e4377a66c4f897f04b7ae8ed18aa20d8d60c57f2aeb684b8
4
- data.tar.gz: a04f088ed0b96f3b246010798757e79217c6a0f3730f590eaa17586e0f56664f
3
+ metadata.gz: 689a78e9e8d65ee55fcbca5f095c0bf9acda8a7cd71b2396e8d7a7b780773205
4
+ data.tar.gz: ae867a88eb0278137d054b0f1bdd55daf383e63a44c57bd49248cf10f413b121
5
5
  SHA512:
6
- metadata.gz: 9db79f4efe387a0b96295b565e514c2e6ba410b5b4f4a152dfc0f81b9a81f5731381ca3f594fced9c97864bc0c60b8431edf369a8112664c5ddae95e6981d109
7
- data.tar.gz: 2a816742ca01cda3e4159a5c0c9a971152ae23771d92216fdc40d14c4eed3a7136c07b8fa4253f060e192cd61d2c0bce90566de9362dee1466999b6ae3b9f872
6
+ metadata.gz: dd29e682d03323d08275d8b066eabe5c5864fe90627126876e096d0da141bc100b17a9b4588f40eaec7d29a25ac704edd80d1d55a19e3508f02c104bc711f3a5
7
+ data.tar.gz: 28f066b57e66de36a0f104aa80fbfacaddad44fc43390744901fc02c70afa4a6e853ac70cb9b4ad3e3bb748b881de7ab59abd7059822ad6e289ccd4dffb7a7fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.15.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230620
6
+
3
7
  ### v0.14.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230525
@@ -797,6 +797,66 @@ module Google
797
797
  end
798
798
  end
799
799
 
800
+ # Metadata related to the progress of the PurgeUserEvents operation. This will
801
+ # be returned by the google.longrunning.Operation.metadata field.
802
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # Operation create time.
806
+ # Corresponds to the JSON property `createTime`
807
+ # @return [String]
808
+ attr_accessor :create_time
809
+
810
+ # Count of entries that encountered errors while processing.
811
+ # Corresponds to the JSON property `failureCount`
812
+ # @return [Fixnum]
813
+ attr_accessor :failure_count
814
+
815
+ # Count of entries that were deleted successfully.
816
+ # Corresponds to the JSON property `successCount`
817
+ # @return [Fixnum]
818
+ attr_accessor :success_count
819
+
820
+ # Operation last update time. If the operation is done, this is also the finish
821
+ # time.
822
+ # Corresponds to the JSON property `updateTime`
823
+ # @return [String]
824
+ attr_accessor :update_time
825
+
826
+ def initialize(**args)
827
+ update!(**args)
828
+ end
829
+
830
+ # Update properties of this object
831
+ def update!(**args)
832
+ @create_time = args[:create_time] if args.key?(:create_time)
833
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
834
+ @success_count = args[:success_count] if args.key?(:success_count)
835
+ @update_time = args[:update_time] if args.key?(:update_time)
836
+ end
837
+ end
838
+
839
+ # Response of the PurgeUserEventsRequest. If the long running operation is
840
+ # successfully done, then this message is returned by the google.longrunning.
841
+ # Operations.response field.
842
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse
843
+ include Google::Apis::Core::Hashable
844
+
845
+ # The total count of events purged as a result of the operation.
846
+ # Corresponds to the JSON property `purgeCount`
847
+ # @return [Fixnum]
848
+ attr_accessor :purge_count
849
+
850
+ def initialize(**args)
851
+ update!(**args)
852
+ end
853
+
854
+ # Update properties of this object
855
+ def update!(**args)
856
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
857
+ end
858
+ end
859
+
800
860
  # Defines the structure and layout of a type of document data.
801
861
  class GoogleCloudDiscoveryengineV1alphaSchema
802
862
  include Google::Apis::Core::Hashable
@@ -1082,14 +1142,14 @@ module Google
1082
1142
  class GoogleCloudDiscoveryengineV1betaDocumentInfo
1083
1143
  include Google::Apis::Core::Hashable
1084
1144
 
1085
- # Required. The Document resource ID.
1145
+ # The Document resource ID.
1086
1146
  # Corresponds to the JSON property `id`
1087
1147
  # @return [String]
1088
1148
  attr_accessor :id
1089
1149
 
1090
- # Required. The Document resource full name, of the form: `projects/`project_id`/
1091
- # locations/`location`/collections/`collection_id`/dataStores/`data_store_id`/
1092
- # branches/`branch_id`/documents/`document_id``
1150
+ # The Document resource full name, of the form: `projects/`project_id`/locations/
1151
+ # `location`/collections/`collection_id`/dataStores/`data_store_id`/branches/`
1152
+ # branch_id`/documents/`document_id``
1093
1153
  # Corresponds to the JSON property `name`
1094
1154
  # @return [String]
1095
1155
  attr_accessor :name
@@ -1108,7 +1168,7 @@ module Google
1108
1168
  # @return [Fixnum]
1109
1169
  attr_accessor :quantity
1110
1170
 
1111
- # Required. The Document url - only allowed for DataStores with content_config
1171
+ # The Document url - only allowed for DataStores with content_config
1112
1172
  # PUBLIC_WEBSITE.
1113
1173
  # Corresponds to the JSON property `uri`
1114
1174
  # @return [String]
@@ -1139,8 +1199,10 @@ module Google
1139
1199
  # ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`
1140
1200
  # : One custom data JSON per row in arbitrary format that conforms the defined
1141
1201
  # Schema of the data store. This can only be used by the GENERIC Data Store
1142
- # vertical. Supported values for user even imports: * `user_event` (default):
1143
- # One JSON UserEvent per line.
1202
+ # vertical. * `csv`: A CSV file with header conforming the defined Schema of the
1203
+ # data store. Each entry after the header will be imported as a Document. This
1204
+ # can only be used by the GENERIC Data Store vertical. Supported values for user
1205
+ # even imports: * `user_event` (default): One JSON UserEvent per line.
1144
1206
  # Corresponds to the JSON property `dataSchema`
1145
1207
  # @return [String]
1146
1208
  attr_accessor :data_schema
@@ -1216,8 +1278,8 @@ module Google
1216
1278
  # If unset or set to `false`, Document.ids have to be specified using id_field,
1217
1279
  # otherwises, documents without IDs will fail to be imported. Only set this
1218
1280
  # field when using GcsSource or BigQuerySource, and when GcsSource.data_schema
1219
- # or BigQuerySource.data_schema is `custom`. Otherwise, an INVALID_ARGUMENT
1220
- # error is thrown.
1281
+ # or BigQuerySource.data_schema is `custom` or `csv`. Otherwise, an
1282
+ # INVALID_ARGUMENT error is thrown.
1221
1283
  # Corresponds to the JSON property `autoGenerateIds`
1222
1284
  # @return [Boolean]
1223
1285
  attr_accessor :auto_generate_ids
@@ -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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230525"
25
+ REVISION = "20230620"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,18 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class GoogleCloudDiscoveryengineV1alphaSchema
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -601,6 +613,23 @@ module Google
601
613
  end
602
614
  end
603
615
 
616
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :create_time, as: 'createTime'
620
+ property :failure_count, :numeric_string => true, as: 'failureCount'
621
+ property :success_count, :numeric_string => true, as: 'successCount'
622
+ property :update_time, as: 'updateTime'
623
+ end
624
+ end
625
+
626
+ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
630
+ end
631
+ end
632
+
604
633
  class GoogleCloudDiscoveryengineV1alphaSchema
605
634
  # @private
606
635
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []