google-apis-cloudsearch_v1 0.51.0 → 0.52.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: 1f38ca74e8a9f2bc177fd76791e2df20a7d4b52c2c110019519a8836038bb1a0
4
- data.tar.gz: 62567ff944525f5359699adf5574369cf5acfefd878a2400b541c07f90f4996f
3
+ metadata.gz: c55560abb45cd53a93f8f91b55dfe33ca2188d532decc1de1861f2fb789637fc
4
+ data.tar.gz: '095eab3da4595bfc1a502b5343905646f211d1d3531f8223424e8aae93312b69'
5
5
  SHA512:
6
- metadata.gz: eeea6f7cbbeee571223b16bf9d865c02fe6ff6cf6ad7cf0b90e515ab57e07f36ef8b03e05f9f78a04cac0104e70d195aed8459c90acd90076966f153bff51709
7
- data.tar.gz: 0f04968cb88d197c72de4b4d467b95b4ad43cb590c5f9ff5559c8686a4e8664544e69a9fc1bf867fa384ddaad0072fd56cce0385556b1220e7d056245eae396a
6
+ metadata.gz: e16f63967bbc3a59ec932215036ae90c210dd7b23683cffaa8014ac2c6c6b8a42f90231365e0c62839eaaa9c9e9217577dc015b85fd317ba7cda9f907b78098f
7
+ data.tar.gz: 03b1b5ee90af68ef17477c400f3734556a2e0ba7eda36b50cc8c782e68200b4384ccae2d49b0e6cce8737fd727623f888f96db339adc85cf3bb45b0ff90685f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.52.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230531
6
+
3
7
  ### v0.51.0 (2023-06-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20230524
@@ -17848,6 +17848,32 @@ module Google
17848
17848
  end
17849
17849
  end
17850
17850
 
17851
+ # IMPORTANT: It is unsafe to accept this message from an untrusted source, since
17852
+ # it's trivial for an attacker to forge serialized messages that don't fulfill
17853
+ # the type's safety contract -- for example, it could contain attacker
17854
+ # controlled script. A system which receives a SafeHtmlProto implicitly trusts
17855
+ # the producer of the SafeHtmlProto. So, it's generally safe to return this
17856
+ # message in RPC responses, but generally unsafe to accept it in RPC requests.
17857
+ class SafeHtmlProto
17858
+ include Google::Apis::Core::Hashable
17859
+
17860
+ # IMPORTANT: Never set or read this field, even from tests, it is private. See
17861
+ # documentation at the top of .proto file for programming language packages with
17862
+ # which to create or read this message.
17863
+ # Corresponds to the JSON property `privateDoNotAccessOrElseSafeHtmlWrappedValue`
17864
+ # @return [String]
17865
+ attr_accessor :private_do_not_access_or_else_safe_html_wrapped_value
17866
+
17867
+ def initialize(**args)
17868
+ update!(**args)
17869
+ end
17870
+
17871
+ # Update properties of this object
17872
+ def update!(**args)
17873
+ @private_do_not_access_or_else_safe_html_wrapped_value = args[:private_do_not_access_or_else_safe_html_wrapped_value] if args.key?(:private_do_not_access_or_else_safe_html_wrapped_value)
17874
+ end
17875
+ end
17876
+
17851
17877
  # Message containing a string that is safe to use in URL contexts in DOM APIs
17852
17878
  # and HTML documents, where the URL context does not refer to a resource that
17853
17879
  # loads code.
@@ -19429,6 +19455,16 @@ module Google
19429
19455
  # @return [String]
19430
19456
  attr_accessor :suggested_query
19431
19457
 
19458
+ # IMPORTANT: It is unsafe to accept this message from an untrusted source, since
19459
+ # it's trivial for an attacker to forge serialized messages that don't fulfill
19460
+ # the type's safety contract -- for example, it could contain attacker
19461
+ # controlled script. A system which receives a SafeHtmlProto implicitly trusts
19462
+ # the producer of the SafeHtmlProto. So, it's generally safe to return this
19463
+ # message in RPC responses, but generally unsafe to accept it in RPC requests.
19464
+ # Corresponds to the JSON property `suggestedQueryHtml`
19465
+ # @return [Google::Apis::CloudsearchV1::SafeHtmlProto]
19466
+ attr_accessor :suggested_query_html
19467
+
19432
19468
  # Suggestion triggered for the current query.
19433
19469
  # Corresponds to the JSON property `suggestionType`
19434
19470
  # @return [String]
@@ -19441,6 +19477,7 @@ module Google
19441
19477
  # Update properties of this object
19442
19478
  def update!(**args)
19443
19479
  @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
19480
+ @suggested_query_html = args[:suggested_query_html] if args.key?(:suggested_query_html)
19444
19481
  @suggestion_type = args[:suggestion_type] if args.key?(:suggestion_type)
19445
19482
  end
19446
19483
  end
@@ -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.51.0"
19
+ GEM_VERSION = "0.52.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 = "20230524"
25
+ REVISION = "20230531"
26
26
  end
27
27
  end
28
28
  end
@@ -2902,6 +2902,12 @@ module Google
2902
2902
  include Google::Apis::Core::JsonObjectSupport
2903
2903
  end
2904
2904
 
2905
+ class SafeHtmlProto
2906
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2907
+
2908
+ include Google::Apis::Core::JsonObjectSupport
2909
+ end
2910
+
2905
2911
  class SafeUrlProto
2906
2912
  class Representation < Google::Apis::Core::JsonRepresentation; end
2907
2913
 
@@ -8695,6 +8701,13 @@ module Google
8695
8701
  end
8696
8702
  end
8697
8703
 
8704
+ class SafeHtmlProto
8705
+ # @private
8706
+ class Representation < Google::Apis::Core::JsonRepresentation
8707
+ property :private_do_not_access_or_else_safe_html_wrapped_value, as: 'privateDoNotAccessOrElseSafeHtmlWrappedValue'
8708
+ end
8709
+ end
8710
+
8698
8711
  class SafeUrlProto
8699
8712
  # @private
8700
8713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9129,6 +9142,8 @@ module Google
9129
9142
  # @private
9130
9143
  class Representation < Google::Apis::Core::JsonRepresentation
9131
9144
  property :suggested_query, as: 'suggestedQuery'
9145
+ property :suggested_query_html, as: 'suggestedQueryHtml', class: Google::Apis::CloudsearchV1::SafeHtmlProto, decorator: Google::Apis::CloudsearchV1::SafeHtmlProto::Representation
9146
+
9132
9147
  property :suggestion_type, as: 'suggestionType'
9133
9148
  end
9134
9149
  end
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.51.0
4
+ version: 0.52.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-06-04 00:00:00.000000000 Z
11
+ date: 2023-06-18 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-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.52.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: []