google-apis-discoveryengine_v1beta 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +38 -7
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +16 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +142 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 115999d4dad12702a6bca4c86ba0eb63f23b5092e12cfaaccf2e5091fe96c16b
|
4
|
+
data.tar.gz: e3fe9cf08a151f85d4c9b6a97c3c580f22eb9a18568dd6791b525278e5c880d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81df4d76d084af8b8c79ed741afb85246552ecd9e86c21289b4c4295844cde9b572bdc97e054873d40c71283e87b5126a46414f4497e5cd6dbc50db000aebafe
|
7
|
+
data.tar.gz: 4dc40323b0c1a896ab94edba16db5d4005a89fe19b1b92db88fe31c2ac577a0a44c1fdffe49a74627d70c23e296b5b28faa922fe85808caf3f31432a7f18c3fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.19.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230803
|
6
|
+
|
7
|
+
### v0.18.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230713
|
10
|
+
|
3
11
|
### v0.17.0 (2023-07-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230629
|
@@ -891,6 +891,31 @@ module Google
|
|
891
891
|
end
|
892
892
|
end
|
893
893
|
|
894
|
+
# Verification information for target sites in advanced site search.
|
895
|
+
class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
|
896
|
+
include Google::Apis::Core::Hashable
|
897
|
+
|
898
|
+
# Site verification state indicating the ownership and validity.
|
899
|
+
# Corresponds to the JSON property `siteVerificationState`
|
900
|
+
# @return [String]
|
901
|
+
attr_accessor :site_verification_state
|
902
|
+
|
903
|
+
# Latest site verification time.
|
904
|
+
# Corresponds to the JSON property `verifyTime`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :verify_time
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
@site_verification_state = args[:site_verification_state] if args.key?(:site_verification_state)
|
915
|
+
@verify_time = args[:verify_time] if args.key?(:verify_time)
|
916
|
+
end
|
917
|
+
end
|
918
|
+
|
894
919
|
# A target site for the SiteSearchEngine.
|
895
920
|
class GoogleCloudDiscoveryengineV1alphaTargetSite
|
896
921
|
include Google::Apis::Core::Hashable
|
@@ -925,6 +950,11 @@ module Google
|
|
925
950
|
# @return [String]
|
926
951
|
attr_accessor :provided_uri_pattern
|
927
952
|
|
953
|
+
# Verification information for target sites in advanced site search.
|
954
|
+
# Corresponds to the JSON property `siteVerificationInfo`
|
955
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo]
|
956
|
+
attr_accessor :site_verification_info
|
957
|
+
|
928
958
|
# The type of the target site, e.g. whether the site is to be included or
|
929
959
|
# excluded.
|
930
960
|
# Corresponds to the JSON property `type`
|
@@ -946,6 +976,7 @@ module Google
|
|
946
976
|
@generated_uri_pattern = args[:generated_uri_pattern] if args.key?(:generated_uri_pattern)
|
947
977
|
@name = args[:name] if args.key?(:name)
|
948
978
|
@provided_uri_pattern = args[:provided_uri_pattern] if args.key?(:provided_uri_pattern)
|
979
|
+
@site_verification_info = args[:site_verification_info] if args.key?(:site_verification_info)
|
949
980
|
@type = args[:type] if args.key?(:type)
|
950
981
|
@update_time = args[:update_time] if args.key?(:update_time)
|
951
982
|
end
|
@@ -2387,13 +2418,13 @@ module Google
|
|
2387
2418
|
# @return [String]
|
2388
2419
|
attr_accessor :name
|
2389
2420
|
|
2390
|
-
# The normal response of the operation
|
2391
|
-
#
|
2392
|
-
#
|
2393
|
-
#
|
2394
|
-
#
|
2395
|
-
#
|
2396
|
-
#
|
2421
|
+
# The normal, successful response of the operation. If the original method
|
2422
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
2423
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
2424
|
+
# response should be the resource. For other methods, the response should have
|
2425
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
2426
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
2427
|
+
# `TakeSnapshotResponse`.
|
2397
2428
|
# Corresponds to the JSON property `response`
|
2398
2429
|
# @return [Hash<String,Object>]
|
2399
2430
|
attr_accessor :response
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.19.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 = "
|
25
|
+
REVISION = "20230803"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,6 +178,12 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
181
187
|
class GoogleCloudDiscoveryengineV1alphaTargetSite
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
@@ -639,6 +645,14 @@ module Google
|
|
639
645
|
end
|
640
646
|
end
|
641
647
|
|
648
|
+
class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
|
649
|
+
# @private
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
property :site_verification_state, as: 'siteVerificationState'
|
652
|
+
property :verify_time, as: 'verifyTime'
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
642
656
|
class GoogleCloudDiscoveryengineV1alphaTargetSite
|
643
657
|
# @private
|
644
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -646,6 +660,8 @@ module Google
|
|
646
660
|
property :generated_uri_pattern, as: 'generatedUriPattern'
|
647
661
|
property :name, as: 'name'
|
648
662
|
property :provided_uri_pattern, as: 'providedUriPattern'
|
663
|
+
property :site_verification_info, as: 'siteVerificationInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo::Representation
|
664
|
+
|
649
665
|
property :type, as: 'type'
|
650
666
|
property :update_time, as: 'updateTime'
|
651
667
|
end
|
@@ -645,6 +645,148 @@ module Google
|
|
645
645
|
execute_or_queue_command(command, &block)
|
646
646
|
end
|
647
647
|
|
648
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
649
|
+
# to poll the operation result at intervals as recommended by the API service.
|
650
|
+
# @param [String] name
|
651
|
+
# The name of the operation resource.
|
652
|
+
# @param [String] fields
|
653
|
+
# Selector specifying which fields to include in a partial response.
|
654
|
+
# @param [String] quota_user
|
655
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
656
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
657
|
+
# @param [Google::Apis::RequestOptions] options
|
658
|
+
# Request-specific options
|
659
|
+
#
|
660
|
+
# @yield [result, err] Result & error if block supplied
|
661
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
662
|
+
# @yieldparam err [StandardError] error object if request failed
|
663
|
+
#
|
664
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
665
|
+
#
|
666
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
667
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
668
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
669
|
+
def get_project_location_collection_data_store_site_search_engine_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
670
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
671
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
672
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
673
|
+
command.params['name'] = name unless name.nil?
|
674
|
+
command.query['fields'] = fields unless fields.nil?
|
675
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
676
|
+
execute_or_queue_command(command, &block)
|
677
|
+
end
|
678
|
+
|
679
|
+
# Lists operations that match the specified filter in the request. If the server
|
680
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
681
|
+
# @param [String] name
|
682
|
+
# The name of the operation's parent resource.
|
683
|
+
# @param [String] filter
|
684
|
+
# The standard list filter.
|
685
|
+
# @param [Fixnum] page_size
|
686
|
+
# The standard list page size.
|
687
|
+
# @param [String] page_token
|
688
|
+
# The standard list page token.
|
689
|
+
# @param [String] fields
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
691
|
+
# @param [String] quota_user
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
695
|
+
# Request-specific options
|
696
|
+
#
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
698
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
700
|
+
#
|
701
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
702
|
+
#
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
|
+
def list_project_location_collection_data_store_site_search_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
708
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
709
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
710
|
+
command.params['name'] = name unless name.nil?
|
711
|
+
command.query['filter'] = filter unless filter.nil?
|
712
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
713
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
714
|
+
command.query['fields'] = fields unless fields.nil?
|
715
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
716
|
+
execute_or_queue_command(command, &block)
|
717
|
+
end
|
718
|
+
|
719
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
720
|
+
# to poll the operation result at intervals as recommended by the API service.
|
721
|
+
# @param [String] name
|
722
|
+
# The name of the operation resource.
|
723
|
+
# @param [String] fields
|
724
|
+
# Selector specifying which fields to include in a partial response.
|
725
|
+
# @param [String] quota_user
|
726
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
727
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
728
|
+
# @param [Google::Apis::RequestOptions] options
|
729
|
+
# Request-specific options
|
730
|
+
#
|
731
|
+
# @yield [result, err] Result & error if block supplied
|
732
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
733
|
+
# @yieldparam err [StandardError] error object if request failed
|
734
|
+
#
|
735
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
736
|
+
#
|
737
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
738
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
|
+
def get_project_location_collection_data_store_site_search_engine_target_site_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
741
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
742
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
743
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
744
|
+
command.params['name'] = name unless name.nil?
|
745
|
+
command.query['fields'] = fields unless fields.nil?
|
746
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
747
|
+
execute_or_queue_command(command, &block)
|
748
|
+
end
|
749
|
+
|
750
|
+
# Lists operations that match the specified filter in the request. If the server
|
751
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
752
|
+
# @param [String] name
|
753
|
+
# The name of the operation's parent resource.
|
754
|
+
# @param [String] filter
|
755
|
+
# The standard list filter.
|
756
|
+
# @param [Fixnum] page_size
|
757
|
+
# The standard list page size.
|
758
|
+
# @param [String] page_token
|
759
|
+
# The standard list page token.
|
760
|
+
# @param [String] fields
|
761
|
+
# Selector specifying which fields to include in a partial response.
|
762
|
+
# @param [String] quota_user
|
763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
765
|
+
# @param [Google::Apis::RequestOptions] options
|
766
|
+
# Request-specific options
|
767
|
+
#
|
768
|
+
# @yield [result, err] Result & error if block supplied
|
769
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
770
|
+
# @yieldparam err [StandardError] error object if request failed
|
771
|
+
#
|
772
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
773
|
+
#
|
774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
777
|
+
def list_project_location_collection_data_store_site_search_engine_target_site_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
778
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
779
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
780
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
781
|
+
command.params['name'] = name unless name.nil?
|
782
|
+
command.query['filter'] = filter unless filter.nil?
|
783
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
784
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
785
|
+
command.query['fields'] = fields unless fields.nil?
|
786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
787
|
+
execute_or_queue_command(command, &block)
|
788
|
+
end
|
789
|
+
|
648
790
|
# Writes a single user event from the browser. This uses a GET request to due to
|
649
791
|
# browser restriction of POST-ing to a third-party domain. This method is used
|
650
792
|
# only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
|
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.
|
4
|
+
version: 0.19.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-
|
11
|
+
date: 2023-08-13 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.19.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: []
|