google-apis-cloudsearch_v1 0.27.0 → 0.30.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: 13e4294ccdc28f45f2554c9414df437b6a55c7368cd57ecfc0dee1559b8e4f5f
4
- data.tar.gz: 7053eafb05e19d762f8fd442d4512a4ec1c5f9a4272ff3c637148c2bd0bb2253
3
+ metadata.gz: 692e7d70ce81ebb6ccb7dd465027968cc196275ea08801cc47e2121d0e6a599f
4
+ data.tar.gz: de9b1586cc32ad16e88221cbfc11f331be51d58f447739d9f6c83ab5f102eb70
5
5
  SHA512:
6
- metadata.gz: 40be80f49042d7008a53f212b6eed4829278a9ef129931ea06ecf7de94005871334b33cc0c48a0828b77b176f6bab89b3bc8cdbcc023d6aed6b6d4d1f31effc1
7
- data.tar.gz: f773521004dd45ea25785eda647e6338862986e190eccf729f7b5720e0de23a3f6b00dd955a1950d1b4c05821973da019d9685d62e111c6a74a3c1f50affca0f
6
+ metadata.gz: 5346056dd98e0d8ae459d877be2bdc6e79196f0d2ce04fd8d2b70d329675ab0dd837b393ed44d2faa650b557e00b4c1c903e32c819803063a85a3992e4126aae
7
+ data.tar.gz: 12767d22589f772597c8253027b24dc1a4072ecaac71145c37a2ad05a68600da9496278e471ff51007f55a8f3804ac8d8fac75871bc54627d99d8a23678b2e65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.30.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+
7
+ ### v0.29.0 (2022-06-21)
8
+
9
+ * Regenerated from discovery document revision 20220613
10
+ * Regenerated using generator version 0.7.0
11
+
12
+ ### v0.28.0 (2022-06-07)
13
+
14
+ * Regenerated from discovery document revision 20220530
15
+ * Regenerated using generator version 0.5.0
16
+
3
17
  ### v0.27.0 (2022-05-10)
4
18
 
5
19
  * Regenerated from discovery document revision 20220502
@@ -180,7 +180,7 @@ module Google
180
180
  end
181
181
  end
182
182
 
183
- # Options for boolean properties.
183
+ # The options for boolean properties.
184
184
  class BooleanPropertyOptions
185
185
  include Google::Apis::Core::Hashable
186
186
 
@@ -279,7 +279,7 @@ module Google
279
279
 
280
280
  # Proto representation of a custom emoji. May be used in both APIs and in
281
281
  # Spanner, but certain fields should be restricted to one or the other. See the
282
- # per-field documentation for details. NEXT_TAG: 13
282
+ # per-field documentation for details. NEXT_TAG: 14
283
283
  class CustomEmoji
284
284
  include Google::Apis::Core::Hashable
285
285
 
@@ -307,6 +307,13 @@ module Google
307
307
  # @return [Google::Apis::CloudsearchV1::UserId]
308
308
  attr_accessor :creator_user_id
309
309
 
310
+ # Time when the emoji was deleted, in microseconds. This field may be present in
311
+ # Spanner, within the server, or in public APIs. Only present if the emoji has
312
+ # been deleted.
313
+ # Corresponds to the JSON property `deleteTimeMicros`
314
+ # @return [Fixnum]
315
+ attr_accessor :delete_time_micros
316
+
310
317
  # Output only. A short-lived URL clients can use for directly accessing a custom
311
318
  # emoji image. This field is intended for API consumption, and should *never* be
312
319
  # persisted to Spanner.
@@ -362,6 +369,7 @@ module Google
362
369
  @content_type = args[:content_type] if args.key?(:content_type)
363
370
  @create_time_micros = args[:create_time_micros] if args.key?(:create_time_micros)
364
371
  @creator_user_id = args[:creator_user_id] if args.key?(:creator_user_id)
372
+ @delete_time_micros = args[:delete_time_micros] if args.key?(:delete_time_micros)
365
373
  @ephemeral_url = args[:ephemeral_url] if args.key?(:ephemeral_url)
366
374
  @owner_customer_id = args[:owner_customer_id] if args.key?(:owner_customer_id)
367
375
  @read_token = args[:read_token] if args.key?(:read_token)
@@ -615,8 +623,8 @@ module Google
615
623
  # @return [Array<Google::Apis::CloudsearchV1::GSuitePrincipal>]
616
624
  attr_accessor :items_visibility
617
625
 
618
- # Name of the datasource resource. Format: datasources/`source_id`. The name is
619
- # ignored when creating a datasource.
626
+ # The name of the datasource resource. Format: datasources/`source_id`. The name
627
+ # is ignored when creating a datasource.
620
628
  # Corresponds to the JSON property `name`
621
629
  # @return [String]
622
630
  attr_accessor :name
@@ -806,7 +814,7 @@ module Google
806
814
  end
807
815
  end
808
816
 
809
- # Options for date properties.
817
+ # The options for date properties.
810
818
  class DatePropertyOptions
811
819
  include Google::Apis::Core::Hashable
812
820
 
@@ -871,8 +879,8 @@ module Google
871
879
  class DeleteQueueItemsRequest
872
880
  include Google::Apis::Core::Hashable
873
881
 
874
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
875
- # `ID`
882
+ # The name of connector making this call. Format: datasources/`source_id`/
883
+ # connectors/`ID`
876
884
  # Corresponds to the JSON property `connectorName`
877
885
  # @return [String]
878
886
  attr_accessor :connector_name
@@ -882,7 +890,7 @@ module Google
882
890
  # @return [Google::Apis::CloudsearchV1::DebugOptions]
883
891
  attr_accessor :debug_options
884
892
 
885
- # Name of a queue to delete items from.
893
+ # The name of a queue to delete items from.
886
894
  # Corresponds to the JSON property `queue`
887
895
  # @return [String]
888
896
  attr_accessor :queue
@@ -965,7 +973,7 @@ module Google
965
973
  end
966
974
  end
967
975
 
968
- # Options for double properties.
976
+ # The options for double properties.
969
977
  class DoublePropertyOptions
970
978
  include Google::Apis::Core::Hashable
971
979
 
@@ -1216,7 +1224,7 @@ module Google
1216
1224
 
1217
1225
  # Proto representation of a custom emoji. May be used in both APIs and in
1218
1226
  # Spanner, but certain fields should be restricted to one or the other. See the
1219
- # per-field documentation for details. NEXT_TAG: 13
1227
+ # per-field documentation for details. NEXT_TAG: 14
1220
1228
  # Corresponds to the JSON property `customEmoji`
1221
1229
  # @return [Google::Apis::CloudsearchV1::CustomEmoji]
1222
1230
  attr_accessor :custom_emoji
@@ -1271,7 +1279,7 @@ module Google
1271
1279
  end
1272
1280
  end
1273
1281
 
1274
- # Options for enum properties, which allow you to define a restricted set of
1282
+ # The options for enum properties, which allow you to define a restricted set of
1275
1283
  # strings to match user queries, set rankings for those string values, and
1276
1284
  # define an operator name to be paired with those strings so that users can
1277
1285
  # narrow results to only items with a specific value. For example, for items in
@@ -1487,7 +1495,7 @@ module Google
1487
1495
  # @return [String]
1488
1496
  attr_accessor :object_type
1489
1497
 
1490
- # Name of the operator chosen for faceting. @see cloudsearch.
1498
+ # The name of the operator chosen for faceting. @see cloudsearch.
1491
1499
  # SchemaPropertyOptions
1492
1500
  # Corresponds to the JSON property `operatorName`
1493
1501
  # @return [String]
@@ -1516,7 +1524,8 @@ module Google
1516
1524
  class FacetResult
1517
1525
  include Google::Apis::Core::Hashable
1518
1526
 
1519
- # FacetBuckets for values in response containing at least a single result.
1527
+ # FacetBuckets for values in response containing at least a single result with
1528
+ # the corresponding filter.
1520
1529
  # Corresponds to the JSON property `buckets`
1521
1530
  # @return [Array<Google::Apis::CloudsearchV1::FacetBucket>]
1522
1531
  attr_accessor :buckets
@@ -1526,7 +1535,7 @@ module Google
1526
1535
  # @return [String]
1527
1536
  attr_accessor :object_type
1528
1537
 
1529
- # Name of the operator chosen for faceting. @see cloudsearch.
1538
+ # The name of the operator chosen for faceting. @see cloudsearch.
1530
1539
  # SchemaPropertyOptions
1531
1540
  # Corresponds to the JSON property `operatorName`
1532
1541
  # @return [String]
@@ -1554,7 +1563,7 @@ module Google
1554
1563
  class FieldViolation
1555
1564
  include Google::Apis::Core::Hashable
1556
1565
 
1557
- # Description of the error.
1566
+ # The description of the error.
1558
1567
  # Corresponds to the JSON property `description`
1559
1568
  # @return [String]
1560
1569
  attr_accessor :description
@@ -2075,7 +2084,7 @@ module Google
2075
2084
  end
2076
2085
  end
2077
2086
 
2078
- # Options for html properties.
2087
+ # The options for html properties.
2079
2088
  class HtmlPropertyOptions
2080
2089
  include Google::Apis::Core::Hashable
2081
2090
 
@@ -2189,8 +2198,8 @@ module Google
2189
2198
  class IndexItemRequest
2190
2199
  include Google::Apis::Core::Hashable
2191
2200
 
2192
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
2193
- # `ID`
2201
+ # The name of connector making this call. Format: datasources/`source_id`/
2202
+ # connectors/`ID`
2194
2203
  # Corresponds to the JSON property `connectorName`
2195
2204
  # @return [String]
2196
2205
  attr_accessor :connector_name
@@ -2295,7 +2304,7 @@ module Google
2295
2304
  end
2296
2305
  end
2297
2306
 
2298
- # Options for integer properties.
2307
+ # The options for integer properties.
2299
2308
  class IntegerPropertyOptions
2300
2309
  include Google::Apis::Core::Hashable
2301
2310
 
@@ -2398,7 +2407,7 @@ module Google
2398
2407
  include Google::Apis::Core::Hashable
2399
2408
 
2400
2409
  # Access control list information for the item. For more information see [Map
2401
- # ACLs](/cloud-search/docs/guides/acls).
2410
+ # ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
2402
2411
  # Corresponds to the JSON property `acl`
2403
2412
  # @return [Google::Apis::CloudsearchV1::ItemAcl]
2404
2413
  attr_accessor :acl
@@ -2410,7 +2419,7 @@ module Google
2410
2419
  # @return [Google::Apis::CloudsearchV1::ItemContent]
2411
2420
  attr_accessor :content
2412
2421
 
2413
- # Type for this item.
2422
+ # The type for this item.
2414
2423
  # Corresponds to the JSON property `itemType`
2415
2424
  # @return [String]
2416
2425
  attr_accessor :item_type
@@ -2420,8 +2429,8 @@ module Google
2420
2429
  # @return [Google::Apis::CloudsearchV1::ItemMetadata]
2421
2430
  attr_accessor :metadata
2422
2431
 
2423
- # Name of the Item. Format: datasources/`source_id`/items/`item_id` This is a
2424
- # required field. The maximum length is 1536 characters.
2432
+ # The name of the Item. Format: datasources/`source_id`/items/`item_id` This is
2433
+ # a required field. The maximum length is 1536 characters.
2425
2434
  # Corresponds to the JSON property `name`
2426
2435
  # @return [String]
2427
2436
  attr_accessor :name
@@ -2481,7 +2490,7 @@ module Google
2481
2490
  end
2482
2491
 
2483
2492
  # Access control list information for the item. For more information see [Map
2484
- # ACLs](/cloud-search/docs/guides/acls).
2493
+ # ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
2485
2494
  class ItemAcl
2486
2495
  include Google::Apis::Core::Hashable
2487
2496
 
@@ -2501,8 +2510,8 @@ module Google
2501
2510
  # @return [Array<Google::Apis::CloudsearchV1::Principal>]
2502
2511
  attr_accessor :denied_readers
2503
2512
 
2504
- # Name of the item to inherit the Access Permission List (ACL) from. Note: ACL
2505
- # inheritance *only* provides access permissions to child items and does not
2513
+ # The name of the item to inherit the Access Permission List (ACL) from. Note:
2514
+ # ACL inheritance *only* provides access permissions to child items and does not
2506
2515
  # define structural relationships, nor does it provide convenient ways to delete
2507
2516
  # large groups of items. Deleting an ACL parent from the index only alters the
2508
2517
  # access permissions of child items that reference the parent in the
@@ -3109,7 +3118,7 @@ module Google
3109
3118
  include Google::Apis::Core::Hashable
3110
3119
 
3111
3120
  # The read-only display name formatted according to the locale specified by the
3112
- # viewer's account or the Accept-Language HTTP header.
3121
+ # viewer's account or the `Accept-Language` HTTP header.
3113
3122
  # Corresponds to the JSON property `displayName`
3114
3123
  # @return [String]
3115
3124
  attr_accessor :display_name
@@ -3206,7 +3215,7 @@ module Google
3206
3215
  class ObjectDefinition
3207
3216
  include Google::Apis::Core::Hashable
3208
3217
 
3209
- # Name for the object, which then defines its type. Item indexing requests
3218
+ # The name for the object, which then defines its type. Item indexing requests
3210
3219
  # should set the objectType field equal to this value. For example, if *name* is
3211
3220
  # *Document*, then indexing requests for items of type Document should set
3212
3221
  # objectType equal to *Document*. Each object definition must be uniquely named
@@ -3303,7 +3312,7 @@ module Google
3303
3312
  end
3304
3313
  end
3305
3314
 
3306
- # Options for object properties.
3315
+ # The options for object properties.
3307
3316
  class ObjectPropertyOptions
3308
3317
  include Google::Apis::Core::Hashable
3309
3318
 
@@ -3434,8 +3443,9 @@ module Google
3434
3443
  # @return [Array<Google::Apis::CloudsearchV1::EmailAddress>]
3435
3444
  attr_accessor :email_addresses
3436
3445
 
3437
- # The resource name of the person to provide information about. See People.get
3438
- # from Google People API.
3446
+ # The resource name of the person to provide information about. See [`People.get`
3447
+ # ](https://developers.google.com/people/api/rest/v1/people/get) from the Google
3448
+ # People API.
3439
3449
  # Corresponds to the JSON property `name`
3440
3450
  # @return [String]
3441
3451
  attr_accessor :name
@@ -3450,6 +3460,11 @@ module Google
3450
3460
  # @return [Array<Google::Apis::CloudsearchV1::Name>]
3451
3461
  attr_accessor :person_names
3452
3462
 
3463
+ # The person's phone numbers
3464
+ # Corresponds to the JSON property `phoneNumbers`
3465
+ # @return [Array<Google::Apis::CloudsearchV1::PhoneNumber>]
3466
+ attr_accessor :phone_numbers
3467
+
3453
3468
  # A person's read-only photo. A picture shown next to the person's name to help
3454
3469
  # others recognize the person in search results.
3455
3470
  # Corresponds to the JSON property `photos`
@@ -3466,10 +3481,36 @@ module Google
3466
3481
  @name = args[:name] if args.key?(:name)
3467
3482
  @obfuscated_id = args[:obfuscated_id] if args.key?(:obfuscated_id)
3468
3483
  @person_names = args[:person_names] if args.key?(:person_names)
3484
+ @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers)
3469
3485
  @photos = args[:photos] if args.key?(:photos)
3470
3486
  end
3471
3487
  end
3472
3488
 
3489
+ # A person's Phone Number
3490
+ class PhoneNumber
3491
+ include Google::Apis::Core::Hashable
3492
+
3493
+ # The phone number of the person.
3494
+ # Corresponds to the JSON property `phoneNumber`
3495
+ # @return [String]
3496
+ attr_accessor :phone_number
3497
+
3498
+ #
3499
+ # Corresponds to the JSON property `type`
3500
+ # @return [String]
3501
+ attr_accessor :type
3502
+
3503
+ def initialize(**args)
3504
+ update!(**args)
3505
+ end
3506
+
3507
+ # Update properties of this object
3508
+ def update!(**args)
3509
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
3510
+ @type = args[:type] if args.key?(:type)
3511
+ end
3512
+ end
3513
+
3473
3514
  # A person's photo.
3474
3515
  class Photo
3475
3516
  include Google::Apis::Core::Hashable
@@ -3493,8 +3534,8 @@ module Google
3493
3534
  class PollItemsRequest
3494
3535
  include Google::Apis::Core::Hashable
3495
3536
 
3496
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
3497
- # `ID`
3537
+ # The name of connector making this call. Format: datasources/`source_id`/
3538
+ # connectors/`ID`
3498
3539
  # Corresponds to the JSON property `connectorName`
3499
3540
  # @return [String]
3500
3541
  attr_accessor :connector_name
@@ -3600,7 +3641,7 @@ module Google
3600
3641
  # @return [String]
3601
3642
  attr_accessor :code
3602
3643
 
3603
- # Description of the error.
3644
+ # The description of the error.
3604
3645
  # Corresponds to the JSON property `errorMessage`
3605
3646
  # @return [String]
3606
3647
  attr_accessor :error_message
@@ -3627,12 +3668,12 @@ module Google
3627
3668
  class PropertyDefinition
3628
3669
  include Google::Apis::Core::Hashable
3629
3670
 
3630
- # Options for boolean properties.
3671
+ # The options for boolean properties.
3631
3672
  # Corresponds to the JSON property `booleanPropertyOptions`
3632
3673
  # @return [Google::Apis::CloudsearchV1::BooleanPropertyOptions]
3633
3674
  attr_accessor :boolean_property_options
3634
3675
 
3635
- # Options for date properties.
3676
+ # The options for date properties.
3636
3677
  # Corresponds to the JSON property `datePropertyOptions`
3637
3678
  # @return [Google::Apis::CloudsearchV1::DatePropertyOptions]
3638
3679
  attr_accessor :date_property_options
@@ -3642,12 +3683,12 @@ module Google
3642
3683
  # @return [Google::Apis::CloudsearchV1::PropertyDisplayOptions]
3643
3684
  attr_accessor :display_options
3644
3685
 
3645
- # Options for double properties.
3686
+ # The options for double properties.
3646
3687
  # Corresponds to the JSON property `doublePropertyOptions`
3647
3688
  # @return [Google::Apis::CloudsearchV1::DoublePropertyOptions]
3648
3689
  attr_accessor :double_property_options
3649
3690
 
3650
- # Options for enum properties, which allow you to define a restricted set of
3691
+ # The options for enum properties, which allow you to define a restricted set of
3651
3692
  # strings to match user queries, set rankings for those string values, and
3652
3693
  # define an operator name to be paired with those strings so that users can
3653
3694
  # narrow results to only items with a specific value. For example, for items in
@@ -3659,19 +3700,19 @@ module Google
3659
3700
  # @return [Google::Apis::CloudsearchV1::EnumPropertyOptions]
3660
3701
  attr_accessor :enum_property_options
3661
3702
 
3662
- # Options for html properties.
3703
+ # The options for html properties.
3663
3704
  # Corresponds to the JSON property `htmlPropertyOptions`
3664
3705
  # @return [Google::Apis::CloudsearchV1::HtmlPropertyOptions]
3665
3706
  attr_accessor :html_property_options
3666
3707
 
3667
- # Options for integer properties.
3708
+ # The options for integer properties.
3668
3709
  # Corresponds to the JSON property `integerPropertyOptions`
3669
3710
  # @return [Google::Apis::CloudsearchV1::IntegerPropertyOptions]
3670
3711
  attr_accessor :integer_property_options
3671
3712
 
3672
3713
  # Indicates that the property can be used for generating facets. Cannot be true
3673
3714
  # for properties whose type is object. IsReturnable must be true to set this
3674
- # option. Only supported for Boolean, Enum, and Text properties.
3715
+ # option. Only supported for boolean, enum, and text properties.
3675
3716
  # Corresponds to the JSON property `isFacetable`
3676
3717
  # @return [Boolean]
3677
3718
  attr_accessor :is_facetable
@@ -3702,7 +3743,7 @@ module Google
3702
3743
  # Indicates that the property can be used for sorting. Cannot be true for
3703
3744
  # properties that are repeatable. Cannot be true for properties whose type is
3704
3745
  # object. IsReturnable must be true to set this option. Only supported for
3705
- # Boolean, Date, Double, Integer, and Timestamp properties.
3746
+ # boolean, date, double, integer, and timestamp properties.
3706
3747
  # Corresponds to the JSON property `isSortable`
3707
3748
  # @return [Boolean]
3708
3749
  attr_accessor :is_sortable
@@ -3735,17 +3776,17 @@ module Google
3735
3776
  # @return [String]
3736
3777
  attr_accessor :name
3737
3778
 
3738
- # Options for object properties.
3779
+ # The options for object properties.
3739
3780
  # Corresponds to the JSON property `objectPropertyOptions`
3740
3781
  # @return [Google::Apis::CloudsearchV1::ObjectPropertyOptions]
3741
3782
  attr_accessor :object_property_options
3742
3783
 
3743
- # Options for text properties.
3784
+ # The options for text properties.
3744
3785
  # Corresponds to the JSON property `textPropertyOptions`
3745
3786
  # @return [Google::Apis::CloudsearchV1::TextPropertyOptions]
3746
3787
  attr_accessor :text_property_options
3747
3788
 
3748
- # Options for timestamp properties.
3789
+ # The options for timestamp properties.
3749
3790
  # Corresponds to the JSON property `timestampPropertyOptions`
3750
3791
  # @return [Google::Apis::CloudsearchV1::TimestampPropertyOptions]
3751
3792
  attr_accessor :timestamp_property_options
@@ -3813,9 +3854,10 @@ module Google
3813
3854
  # @return [String]
3814
3855
  attr_accessor :content_hash
3815
3856
 
3816
- # Metadata hash of the item according to the repository. If specified, this is
3817
- # used to determine how to modify this item's status. Setting this field and the
3818
- # type field results in argument error. The maximum length is 2048 characters.
3857
+ # The metadata hash of the item according to the repository. If specified, this
3858
+ # is used to determine how to modify this item's status. Setting this field and
3859
+ # the type field results in argument error. The maximum length is 2048
3860
+ # characters.
3819
3861
  # Corresponds to the JSON property `metadataHash`
3820
3862
  # @return [String]
3821
3863
  attr_accessor :metadata_hash
@@ -3827,7 +3869,7 @@ module Google
3827
3869
  # @return [String]
3828
3870
  attr_accessor :payload
3829
3871
 
3830
- # Queue to which this item belongs to. The default queue is chosen if this field
3872
+ # Queue to which this item belongs. The `default` queue is chosen if this field
3831
3873
  # is not specified. The maximum length is 512 characters.
3832
3874
  # Corresponds to the JSON property `queue`
3833
3875
  # @return [String]
@@ -3871,8 +3913,8 @@ module Google
3871
3913
  class PushItemRequest
3872
3914
  include Google::Apis::Core::Hashable
3873
3915
 
3874
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
3875
- # `ID`
3916
+ # The name of connector making this call. Format: datasources/`source_id`/
3917
+ # connectors/`ID`
3876
3918
  # Corresponds to the JSON property `connectorName`
3877
3919
  # @return [String]
3878
3920
  attr_accessor :connector_name
@@ -4113,8 +4155,8 @@ module Google
4113
4155
  # @return [String]
4114
4156
  attr_accessor :less_than_operator_name
4115
4157
 
4116
- # Name of the object corresponding to the operator. This field is only filled
4117
- # for schema-specific operators, and is unset for common operators.
4158
+ # The name of the object corresponding to the operator. This field is only
4159
+ # filled for schema-specific operators, and is unset for common operators.
4118
4160
  # Corresponds to the JSON property `objectType`
4119
4161
  # @return [String]
4120
4162
  attr_accessor :object_type
@@ -4124,7 +4166,7 @@ module Google
4124
4166
  # @return [String]
4125
4167
  attr_accessor :operator_name
4126
4168
 
4127
- # Type of the operator.
4169
+ # The type of the operator.
4128
4170
  # Corresponds to the JSON property `type`
4129
4171
  # @return [String]
4130
4172
  attr_accessor :type
@@ -4217,7 +4259,7 @@ module Google
4217
4259
  # @return [Fixnum]
4218
4260
  attr_accessor :http_status_code
4219
4261
 
4220
- # Type of error.
4262
+ # The type of error.
4221
4263
  # Corresponds to the JSON property `type`
4222
4264
  # @return [String]
4223
4265
  attr_accessor :type
@@ -4591,7 +4633,8 @@ module Google
4591
4633
  attr_accessor :enable_audit_log
4592
4634
  alias_method :enable_audit_log?, :enable_audit_log
4593
4635
 
4594
- # Name of the Search Application. Format: searchapplications/`application_id`.
4636
+ # The name of the Search Application. Format: searchapplications/`application_id`
4637
+ # .
4595
4638
  # Corresponds to the JSON property `name`
4596
4639
  # @return [String]
4597
4640
  attr_accessor :name
@@ -5086,8 +5129,8 @@ module Google
5086
5129
  class SortOptions
5087
5130
  include Google::Apis::Core::Hashable
5088
5131
 
5089
- # Name of the operator corresponding to the field to sort on. The corresponding
5090
- # property must be marked as sortable.
5132
+ # The name of the operator corresponding to the field to sort on. The
5133
+ # corresponding property must be marked as sortable.
5091
5134
  # Corresponds to the JSON property `operatorName`
5092
5135
  # @return [String]
5093
5136
  attr_accessor :operator_name
@@ -5373,8 +5416,8 @@ module Google
5373
5416
  class StartUploadItemRequest
5374
5417
  include Google::Apis::Core::Hashable
5375
5418
 
5376
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
5377
- # `ID`
5419
+ # The name of connector making this call. Format: datasources/`source_id`/
5420
+ # connectors/`ID`
5378
5421
  # Corresponds to the JSON property `connectorName`
5379
5422
  # @return [String]
5380
5423
  attr_accessor :connector_name
@@ -5575,8 +5618,8 @@ module Google
5575
5618
  # If true, the text value is tokenized as one atomic value in operator searches
5576
5619
  # and facet matches. For example, if the operator name is "genre" and the value
5577
5620
  # is "science-fiction" the query restrictions "genre:science" and "genre:fiction"
5578
- # doesn't match the item; "genre:science-fiction" does. Value matching is case-
5579
- # sensitive and does not remove special characters. If false, the text is
5621
+ # doesn't match the item; "genre:science-fiction" does. Text value matching is
5622
+ # case-sensitive and does not remove special characters. If false, the text is
5580
5623
  # tokenized. For example, if the value is "science-fiction" the queries "genre:
5581
5624
  # science" and "genre:fiction" matches the item.
5582
5625
  # Corresponds to the JSON property `exactMatchWithOperator`
@@ -5607,7 +5650,7 @@ module Google
5607
5650
  end
5608
5651
  end
5609
5652
 
5610
- # Options for text properties.
5653
+ # The options for text properties.
5611
5654
  class TextPropertyOptions
5612
5655
  include Google::Apis::Core::Hashable
5613
5656
 
@@ -5704,7 +5747,7 @@ module Google
5704
5747
  end
5705
5748
  end
5706
5749
 
5707
- # Options for timestamp properties.
5750
+ # The options for timestamp properties.
5708
5751
  class TimestampPropertyOptions
5709
5752
  include Google::Apis::Core::Hashable
5710
5753
 
@@ -5792,8 +5835,8 @@ module Google
5792
5835
  class UnreserveItemsRequest
5793
5836
  include Google::Apis::Core::Hashable
5794
5837
 
5795
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
5796
- # `ID`
5838
+ # The name of connector making this call. Format: datasources/`source_id`/
5839
+ # connectors/`ID`
5797
5840
  # Corresponds to the JSON property `connectorName`
5798
5841
  # @return [String]
5799
5842
  attr_accessor :connector_name
@@ -5803,7 +5846,7 @@ module Google
5803
5846
  # @return [Google::Apis::CloudsearchV1::DebugOptions]
5804
5847
  attr_accessor :debug_options
5805
5848
 
5806
- # Name of a queue to unreserve items from.
5849
+ # The name of a queue to unreserve items from.
5807
5850
  # Corresponds to the JSON property `queue`
5808
5851
  # @return [String]
5809
5852
  attr_accessor :queue
@@ -5886,7 +5929,7 @@ module Google
5886
5929
  class UploadItemRef
5887
5930
  include Google::Apis::Core::Hashable
5888
5931
 
5889
- # Name of the content reference. The maximum length is 2048 characters.
5932
+ # The name of the content reference. The maximum length is 2048 characters.
5890
5933
  # Corresponds to the JSON property `name`
5891
5934
  # @return [String]
5892
5935
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsearchV1
18
18
  # Version of the google-apis-cloudsearch_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220502"
25
+ REVISION = "20220613"
26
26
  end
27
27
  end
28
28
  end
@@ -640,6 +640,12 @@ module Google
640
640
  include Google::Apis::Core::JsonObjectSupport
641
641
  end
642
642
 
643
+ class PhoneNumber
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
643
649
  class Photo
644
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
651
 
@@ -1173,6 +1179,7 @@ module Google
1173
1179
  property :create_time_micros, :numeric_string => true, as: 'createTimeMicros'
1174
1180
  property :creator_user_id, as: 'creatorUserId', class: Google::Apis::CloudsearchV1::UserId, decorator: Google::Apis::CloudsearchV1::UserId::Representation
1175
1181
 
1182
+ property :delete_time_micros, :numeric_string => true, as: 'deleteTimeMicros'
1176
1183
  property :ephemeral_url, as: 'ephemeralUrl'
1177
1184
  property :owner_customer_id, as: 'ownerCustomerId', class: Google::Apis::CloudsearchV1::CustomerId, decorator: Google::Apis::CloudsearchV1::CustomerId::Representation
1178
1185
 
@@ -2084,11 +2091,21 @@ module Google
2084
2091
  property :obfuscated_id, as: 'obfuscatedId'
2085
2092
  collection :person_names, as: 'personNames', class: Google::Apis::CloudsearchV1::Name, decorator: Google::Apis::CloudsearchV1::Name::Representation
2086
2093
 
2094
+ collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::CloudsearchV1::PhoneNumber, decorator: Google::Apis::CloudsearchV1::PhoneNumber::Representation
2095
+
2087
2096
  collection :photos, as: 'photos', class: Google::Apis::CloudsearchV1::Photo, decorator: Google::Apis::CloudsearchV1::Photo::Representation
2088
2097
 
2089
2098
  end
2090
2099
  end
2091
2100
 
2101
+ class PhoneNumber
2102
+ # @private
2103
+ class Representation < Google::Apis::Core::JsonRepresentation
2104
+ property :phone_number, as: 'phoneNumber'
2105
+ property :type, as: 'type'
2106
+ end
2107
+ end
2108
+
2092
2109
  class Photo
2093
2110
  # @private
2094
2111
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -260,7 +260,7 @@ module Google
260
260
  # Deletes the schema of a data source. **Note:** This API requires an admin or
261
261
  # service account to execute.
262
262
  # @param [String] name
263
- # Name of the data source to delete Schema. Format: datasources/`source_id`
263
+ # The name of the data source to delete Schema. Format: datasources/`source_id`
264
264
  # @param [Boolean] debug_options_enable_debugging
265
265
  # If you are asked by Google to help with debugging, set this field. Otherwise,
266
266
  # ignore this field.
@@ -295,7 +295,7 @@ module Google
295
295
  # Gets the schema of a data source. **Note:** This API requires an admin or
296
296
  # service account to execute.
297
297
  # @param [String] name
298
- # Name of the data source to get Schema. Format: datasources/`source_id`
298
+ # The name of the data source to get Schema. Format: datasources/`source_id`
299
299
  # @param [Boolean] debug_options_enable_debugging
300
300
  # If you are asked by Google to help with debugging, set this field. Otherwise,
301
301
  # ignore this field.
@@ -332,7 +332,7 @@ module Google
332
332
  # the entire schema. **Note:** This API requires an admin or service account to
333
333
  # execute.
334
334
  # @param [String] name
335
- # Name of the data source to update Schema. Format: datasources/`source_id`
335
+ # The name of the data source to update Schema. Format: datasources/`source_id`
336
336
  # @param [Google::Apis::CloudsearchV1::UpdateSchemaRequest] update_schema_request_object
337
337
  # @param [String] fields
338
338
  # Selector specifying which fields to include in a partial response.
@@ -367,11 +367,11 @@ module Google
367
367
  # admin or service account to execute. The service account used is the one
368
368
  # whitelisted in the corresponding data source.
369
369
  # @param [String] name
370
- # Required. Name of the item to delete. Format: datasources/`source_id`/items/`
371
- # item_id`
370
+ # Required. The name of the item to delete. Format: datasources/`source_id`/
371
+ # items/`item_id`
372
372
  # @param [String] connector_name
373
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
374
- # `ID`
373
+ # The name of connector making this call. Format: datasources/`source_id`/
374
+ # connectors/`ID`
375
375
  # @param [Boolean] debug_options_enable_debugging
376
376
  # If you are asked by Google to help with debugging, set this field. Otherwise,
377
377
  # ignore this field.
@@ -422,7 +422,7 @@ module Google
422
422
  # This API requires an admin or service account to execute. The service account
423
423
  # used is the one whitelisted in the corresponding data source.
424
424
  # @param [String] name
425
- # Name of the Data Source to delete items in a queue. Format: datasources/`
425
+ # The name of the Data Source to delete items in a queue. Format: datasources/`
426
426
  # source_id`
427
427
  # @param [Google::Apis::CloudsearchV1::DeleteQueueItemsRequest] delete_queue_items_request_object
428
428
  # @param [String] fields
@@ -458,10 +458,11 @@ module Google
458
458
  # to execute. The service account used is the one whitelisted in the
459
459
  # corresponding data source.
460
460
  # @param [String] name
461
- # Name of the item to get info. Format: datasources/`source_id`/items/`item_id`
461
+ # The name of the item to get info. Format: datasources/`source_id`/items/`
462
+ # item_id`
462
463
  # @param [String] connector_name
463
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
464
- # `ID`
464
+ # The name of connector making this call. Format: datasources/`source_id`/
465
+ # connectors/`ID`
465
466
  # @param [Boolean] debug_options_enable_debugging
466
467
  # If you are asked by Google to help with debugging, set this field. Otherwise,
467
468
  # ignore this field.
@@ -500,8 +501,8 @@ module Google
500
501
  # an admin or service account to execute. The service account used is the one
501
502
  # whitelisted in the corresponding data source.
502
503
  # @param [String] name
503
- # Name of the Item. Format: datasources/`source_id`/items/`item_id` This is a
504
- # required field. The maximum length is 1536 characters.
504
+ # The name of the Item. Format: datasources/`source_id`/items/`item_id` This is
505
+ # a required field. The maximum length is 1536 characters.
505
506
  # @param [Google::Apis::CloudsearchV1::IndexItemRequest] index_item_request_object
506
507
  # @param [String] fields
507
508
  # Selector specifying which fields to include in a partial response.
@@ -536,7 +537,7 @@ module Google
536
537
  # account to execute. The service account used is the one whitelisted in the
537
538
  # corresponding data source.
538
539
  # @param [String] name
539
- # Name of the Data Source to list Items. Format: datasources/`source_id`
540
+ # The name of the Data Source to list Items. Format: datasources/`source_id`
540
541
  # @param [Boolean] brief
541
542
  # When set to true, the indexing system only populates the following fields:
542
543
  # name, version, queue. metadata.hash, metadata.title, metadata.
@@ -546,8 +547,8 @@ module Google
546
547
  # itemStatus.repositoryError.type, If this value is false, then all the fields
547
548
  # are populated in Item.
548
549
  # @param [String] connector_name
549
- # Name of connector making this call. Format: datasources/`source_id`/connectors/
550
- # `ID`
550
+ # The name of connector making this call. Format: datasources/`source_id`/
551
+ # connectors/`ID`
551
552
  # @param [Boolean] debug_options_enable_debugging
552
553
  # If you are asked by Google to help with debugging, set this field. Otherwise,
553
554
  # ignore this field.
@@ -599,7 +600,7 @@ module Google
599
600
  # admin or service account to execute. The service account used is the one
600
601
  # whitelisted in the corresponding data source.
601
602
  # @param [String] name
602
- # Name of the Data Source to poll items. Format: datasources/`source_id`
603
+ # The name of the Data Source to poll items. Format: datasources/`source_id`
603
604
  # @param [Google::Apis::CloudsearchV1::PollItemsRequest] poll_items_request_object
604
605
  # @param [String] fields
605
606
  # Selector specifying which fields to include in a partial response.
@@ -634,7 +635,7 @@ module Google
634
635
  # an admin or service account to execute. The service account used is the one
635
636
  # whitelisted in the corresponding data source.
636
637
  # @param [String] name
637
- # Name of the item to push into the indexing queue. Format: datasources/`
638
+ # The name of the item to push into the indexing queue. Format: datasources/`
638
639
  # source_id`/items/`ID` This is a required field. The maximum length is 1536
639
640
  # characters.
640
641
  # @param [Google::Apis::CloudsearchV1::PushItemRequest] push_item_request_object
@@ -672,7 +673,8 @@ module Google
672
673
  # restarted. This API requires an admin or service account to execute. The
673
674
  # service account used is the one whitelisted in the corresponding data source.
674
675
  # @param [String] name
675
- # Name of the Data Source to unreserve all items. Format: datasources/`source_id`
676
+ # The name of the Data Source to unreserve all items. Format: datasources/`
677
+ # source_id`
676
678
  # @param [Google::Apis::CloudsearchV1::UnreserveItemsRequest] unreserve_items_request_object
677
679
  # @param [String] fields
678
680
  # Selector specifying which fields to include in a partial response.
@@ -708,8 +710,8 @@ module Google
708
710
  # API requires an admin or service account to execute. The service account used
709
711
  # is the one whitelisted in the corresponding data source.
710
712
  # @param [String] name
711
- # Name of the Item to start a resumable upload. Format: datasources/`source_id`/
712
- # items/`item_id`. The maximum length is 1536 bytes.
713
+ # The name of the Item to start a resumable upload. Format: datasources/`
714
+ # source_id`/items/`item_id`. The maximum length is 1536 bytes.
713
715
  # @param [Google::Apis::CloudsearchV1::StartUploadItemRequest] start_upload_item_request_object
714
716
  # @param [String] fields
715
717
  # Selector specifying which fields to include in a partial response.
@@ -1099,7 +1101,7 @@ module Google
1099
1101
 
1100
1102
  # Deletes a datasource. **Note:** This API requires an admin account to execute.
1101
1103
  # @param [String] name
1102
- # Name of the datasource. Format: datasources/`source_id`.
1104
+ # The name of the datasource. Format: datasources/`source_id`.
1103
1105
  # @param [Boolean] debug_options_enable_debugging
1104
1106
  # If you are asked by Google to help with debugging, set this field. Otherwise,
1105
1107
  # ignore this field.
@@ -1133,7 +1135,7 @@ module Google
1133
1135
 
1134
1136
  # Gets a datasource. **Note:** This API requires an admin account to execute.
1135
1137
  # @param [String] name
1136
- # Name of the datasource resource. Format: datasources/`source_id`.
1138
+ # The name of the datasource resource. Format: datasources/`source_id`.
1137
1139
  # @param [Boolean] debug_options_enable_debugging
1138
1140
  # If you are asked by Google to help with debugging, set this field. Otherwise,
1139
1141
  # ignore this field.
@@ -1205,8 +1207,8 @@ module Google
1205
1207
 
1206
1208
  # Updates a datasource. **Note:** This API requires an admin account to execute.
1207
1209
  # @param [String] name
1208
- # Name of the datasource resource. Format: datasources/`source_id`. The name is
1209
- # ignored when creating a datasource.
1210
+ # The name of the datasource resource. Format: datasources/`source_id`. The name
1211
+ # is ignored when creating a datasource.
1210
1212
  # @param [Google::Apis::CloudsearchV1::UpdateDataSourceRequest] update_data_source_request_object
1211
1213
  # @param [String] fields
1212
1214
  # Selector specifying which fields to include in a partial response.
@@ -1307,7 +1309,8 @@ module Google
1307
1309
  # Gets the specified search application. **Note:** This API requires an admin
1308
1310
  # account to execute.
1309
1311
  # @param [String] name
1310
- # Name of the search application. Format: searchapplications/`application_id`.
1312
+ # The name of the search application. Format: searchapplications/`application_id`
1313
+ # .
1311
1314
  # @param [Boolean] debug_options_enable_debugging
1312
1315
  # If you are asked by Google to help with debugging, set this field. Otherwise,
1313
1316
  # ignore this field.
@@ -1416,7 +1419,8 @@ module Google
1416
1419
  # Updates a search application. **Note:** This API requires an admin account to
1417
1420
  # execute.
1418
1421
  # @param [String] name
1419
- # Name of the Search Application. Format: searchapplications/`application_id`.
1422
+ # The name of the Search Application. Format: searchapplications/`application_id`
1423
+ # .
1420
1424
  # @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
1421
1425
  # @param [String] fields
1422
1426
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.30.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: 2022-05-16 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Search API V1