google-cloud-commerce-consumer-procurement-v1 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,8 @@ module Google
32
32
  # including transcoding, making the REST call, and deserialing the response.
33
33
  #
34
34
  class ServiceStub
35
- def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
35
+ # @private
36
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
36
37
  # These require statements are intentionally placed here to initialize
37
38
  # the REST modules only when it's required.
38
39
  require "gapic/rest"
@@ -42,7 +43,9 @@ module Google
42
43
  universe_domain: universe_domain,
43
44
  credentials: credentials,
44
45
  numeric_enums: true,
45
- raise_faraday_errors: false
46
+ service_name: self.class,
47
+ raise_faraday_errors: false,
48
+ logger: logger
46
49
  end
47
50
 
48
51
  ##
@@ -63,6 +66,15 @@ module Google
63
66
  @client_stub.endpoint
64
67
  end
65
68
 
69
+ ##
70
+ # The logger used for request/response debug logging.
71
+ #
72
+ # @return [Logger]
73
+ #
74
+ def logger stub: false
75
+ stub ? @client_stub.stub_logger : @client_stub.logger
76
+ end
77
+
66
78
  ##
67
79
  # Baseline implementation for the place_order REST call
68
80
  #
@@ -89,16 +101,18 @@ module Google
89
101
 
90
102
  response = @client_stub.make_http_request(
91
103
  verb,
92
- uri: uri,
93
- body: body || "",
94
- params: query_string_params,
104
+ uri: uri,
105
+ body: body || "",
106
+ params: query_string_params,
107
+ method_name: "place_order",
95
108
  options: options
96
109
  )
97
110
  operation = ::Gapic::Rest::TransportOperation.new response
98
111
  result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
99
-
100
- yield result, operation if block_given?
101
- result
112
+ catch :response do
113
+ yield result, operation if block_given?
114
+ result
115
+ end
102
116
  end
103
117
 
104
118
  ##
@@ -127,16 +141,18 @@ module Google
127
141
 
128
142
  response = @client_stub.make_http_request(
129
143
  verb,
130
- uri: uri,
131
- body: body || "",
132
- params: query_string_params,
144
+ uri: uri,
145
+ body: body || "",
146
+ params: query_string_params,
147
+ method_name: "get_order",
133
148
  options: options
134
149
  )
135
150
  operation = ::Gapic::Rest::TransportOperation.new response
136
151
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::Order.decode_json response.body, ignore_unknown_fields: true
137
-
138
- yield result, operation if block_given?
139
- result
152
+ catch :response do
153
+ yield result, operation if block_given?
154
+ result
155
+ end
140
156
  end
141
157
 
142
158
  ##
@@ -165,16 +181,18 @@ module Google
165
181
 
166
182
  response = @client_stub.make_http_request(
167
183
  verb,
168
- uri: uri,
169
- body: body || "",
170
- params: query_string_params,
184
+ uri: uri,
185
+ body: body || "",
186
+ params: query_string_params,
187
+ method_name: "list_orders",
171
188
  options: options
172
189
  )
173
190
  operation = ::Gapic::Rest::TransportOperation.new response
174
191
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::ListOrdersResponse.decode_json response.body, ignore_unknown_fields: true
175
-
176
- yield result, operation if block_given?
177
- result
192
+ catch :response do
193
+ yield result, operation if block_given?
194
+ result
195
+ end
178
196
  end
179
197
 
180
198
  ##
@@ -203,16 +221,18 @@ module Google
203
221
 
204
222
  response = @client_stub.make_http_request(
205
223
  verb,
206
- uri: uri,
207
- body: body || "",
208
- params: query_string_params,
224
+ uri: uri,
225
+ body: body || "",
226
+ params: query_string_params,
227
+ method_name: "modify_order",
209
228
  options: options
210
229
  )
211
230
  operation = ::Gapic::Rest::TransportOperation.new response
212
231
  result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
213
-
214
- yield result, operation if block_given?
215
- result
232
+ catch :response do
233
+ yield result, operation if block_given?
234
+ result
235
+ end
216
236
  end
217
237
 
218
238
  ##
@@ -241,16 +261,18 @@ module Google
241
261
 
242
262
  response = @client_stub.make_http_request(
243
263
  verb,
244
- uri: uri,
245
- body: body || "",
246
- params: query_string_params,
264
+ uri: uri,
265
+ body: body || "",
266
+ params: query_string_params,
267
+ method_name: "cancel_order",
247
268
  options: options
248
269
  )
249
270
  operation = ::Gapic::Rest::TransportOperation.new response
250
271
  result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
251
-
252
- yield result, operation if block_given?
253
- result
272
+ catch :response do
273
+ yield result, operation if block_given?
274
+ result
275
+ end
254
276
  end
255
277
 
256
278
  ##
@@ -159,8 +159,28 @@ module Google
159
159
  universe_domain: @config.universe_domain,
160
160
  channel_args: @config.channel_args,
161
161
  interceptors: @config.interceptors,
162
- channel_pool_config: @config.channel_pool
162
+ channel_pool_config: @config.channel_pool,
163
+ logger: @config.logger
163
164
  )
165
+
166
+ @license_management_service_stub.stub_logger&.info do |entry|
167
+ entry.set_system_name
168
+ entry.set_service
169
+ entry.message = "Created client for #{entry.service}"
170
+ entry.set_credentials_fields credentials
171
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
172
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
173
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
174
+ end
175
+ end
176
+
177
+ ##
178
+ # The logger used for request/response debug logging.
179
+ #
180
+ # @return [Logger]
181
+ #
182
+ def logger
183
+ @license_management_service_stub.logger
164
184
  end
165
185
 
166
186
  # Service calls
@@ -246,7 +266,6 @@ module Google
246
266
 
247
267
  @license_management_service_stub.call_rpc :get_license_pool, request, options: options do |response, operation|
248
268
  yield response, operation if block_given?
249
- return response
250
269
  end
251
270
  rescue ::GRPC::BadStatus => e
252
271
  raise ::Google::Cloud::Error.from_error(e)
@@ -338,7 +357,6 @@ module Google
338
357
 
339
358
  @license_management_service_stub.call_rpc :update_license_pool, request, options: options do |response, operation|
340
359
  yield response, operation if block_given?
341
- return response
342
360
  end
343
361
  rescue ::GRPC::BadStatus => e
344
362
  raise ::Google::Cloud::Error.from_error(e)
@@ -427,7 +445,6 @@ module Google
427
445
 
428
446
  @license_management_service_stub.call_rpc :assign, request, options: options do |response, operation|
429
447
  yield response, operation if block_given?
430
- return response
431
448
  end
432
449
  rescue ::GRPC::BadStatus => e
433
450
  raise ::Google::Cloud::Error.from_error(e)
@@ -516,7 +533,6 @@ module Google
516
533
 
517
534
  @license_management_service_stub.call_rpc :unassign, request, options: options do |response, operation|
518
535
  yield response, operation if block_given?
519
- return response
520
536
  end
521
537
  rescue ::GRPC::BadStatus => e
522
538
  raise ::Google::Cloud::Error.from_error(e)
@@ -613,7 +629,7 @@ module Google
613
629
  @license_management_service_stub.call_rpc :enumerate_licensed_users, request, options: options do |response, operation|
614
630
  response = ::Gapic::PagedEnumerable.new @license_management_service_stub, :enumerate_licensed_users, request, response, operation, options
615
631
  yield response, operation if block_given?
616
- return response
632
+ throw :response, response
617
633
  end
618
634
  rescue ::GRPC::BadStatus => e
619
635
  raise ::Google::Cloud::Error.from_error(e)
@@ -663,6 +679,13 @@ module Google
663
679
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
664
680
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
665
681
  # * (`nil`) indicating no credentials
682
+ #
683
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
684
+ # external source for authentication to Google Cloud, you must validate it before
685
+ # providing it to a Google API client library. Providing an unvalidated credential
686
+ # configuration to Google APIs can compromise the security of your systems and data.
687
+ # For more information, refer to [Validate credential configurations from external
688
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
666
689
  # @return [::Object]
667
690
  # @!attribute [rw] scope
668
691
  # The OAuth scopes
@@ -702,6 +725,11 @@ module Google
702
725
  # default endpoint URL. The default value of nil uses the environment
703
726
  # universe (usually the default "googleapis.com" universe).
704
727
  # @return [::String,nil]
728
+ # @!attribute [rw] logger
729
+ # A custom logger to use for request/response debug logging, or the value
730
+ # `:default` (the default) to construct a default logger, or `nil` to
731
+ # explicitly disable logging.
732
+ # @return [::Logger,:default,nil]
705
733
  #
706
734
  class Configuration
707
735
  extend ::Gapic::Config
@@ -726,6 +754,7 @@ module Google
726
754
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
727
755
  config_attr :quota_project, nil, ::String, nil
728
756
  config_attr :universe_domain, nil, ::String, nil
757
+ config_attr :logger, :default, ::Logger, nil, :default
729
758
 
730
759
  # @private
731
760
  def initialize parent_config = nil
@@ -152,8 +152,28 @@ module Google
152
152
  endpoint: @config.endpoint,
153
153
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
154
154
  universe_domain: @config.universe_domain,
155
- credentials: credentials
155
+ credentials: credentials,
156
+ logger: @config.logger
156
157
  )
158
+
159
+ @license_management_service_stub.logger(stub: true)&.info do |entry|
160
+ entry.set_system_name
161
+ entry.set_service
162
+ entry.message = "Created client for #{entry.service}"
163
+ entry.set_credentials_fields credentials
164
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
165
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
166
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
167
+ end
168
+ end
169
+
170
+ ##
171
+ # The logger used for request/response debug logging.
172
+ #
173
+ # @return [Logger]
174
+ #
175
+ def logger
176
+ @license_management_service_stub.logger
157
177
  end
158
178
 
159
179
  # Service calls
@@ -232,7 +252,6 @@ module Google
232
252
 
233
253
  @license_management_service_stub.get_license_pool request, options do |result, operation|
234
254
  yield result, operation if block_given?
235
- return result
236
255
  end
237
256
  rescue ::Gapic::Rest::Error => e
238
257
  raise ::Google::Cloud::Error.from_error(e)
@@ -317,7 +336,6 @@ module Google
317
336
 
318
337
  @license_management_service_stub.update_license_pool request, options do |result, operation|
319
338
  yield result, operation if block_given?
320
- return result
321
339
  end
322
340
  rescue ::Gapic::Rest::Error => e
323
341
  raise ::Google::Cloud::Error.from_error(e)
@@ -399,7 +417,6 @@ module Google
399
417
 
400
418
  @license_management_service_stub.assign request, options do |result, operation|
401
419
  yield result, operation if block_given?
402
- return result
403
420
  end
404
421
  rescue ::Gapic::Rest::Error => e
405
422
  raise ::Google::Cloud::Error.from_error(e)
@@ -481,7 +498,6 @@ module Google
481
498
 
482
499
  @license_management_service_stub.unassign request, options do |result, operation|
483
500
  yield result, operation if block_given?
484
- return result
485
501
  end
486
502
  rescue ::Gapic::Rest::Error => e
487
503
  raise ::Google::Cloud::Error.from_error(e)
@@ -571,7 +587,7 @@ module Google
571
587
  @license_management_service_stub.enumerate_licensed_users request, options do |result, operation|
572
588
  result = ::Gapic::Rest::PagedEnumerable.new @license_management_service_stub, :enumerate_licensed_users, "licensed_users", request, result, options
573
589
  yield result, operation if block_given?
574
- return result
590
+ throw :response, result
575
591
  end
576
592
  rescue ::Gapic::Rest::Error => e
577
593
  raise ::Google::Cloud::Error.from_error(e)
@@ -619,6 +635,13 @@ module Google
619
635
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
620
636
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
621
637
  # * (`nil`) indicating no credentials
638
+ #
639
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
640
+ # external source for authentication to Google Cloud, you must validate it before
641
+ # providing it to a Google API client library. Providing an unvalidated credential
642
+ # configuration to Google APIs can compromise the security of your systems and data.
643
+ # For more information, refer to [Validate credential configurations from external
644
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
622
645
  # @return [::Object]
623
646
  # @!attribute [rw] scope
624
647
  # The OAuth scopes
@@ -651,6 +674,11 @@ module Google
651
674
  # default endpoint URL. The default value of nil uses the environment
652
675
  # universe (usually the default "googleapis.com" universe).
653
676
  # @return [::String,nil]
677
+ # @!attribute [rw] logger
678
+ # A custom logger to use for request/response debug logging, or the value
679
+ # `:default` (the default) to construct a default logger, or `nil` to
680
+ # explicitly disable logging.
681
+ # @return [::Logger,:default,nil]
654
682
  #
655
683
  class Configuration
656
684
  extend ::Gapic::Config
@@ -672,6 +700,7 @@ module Google
672
700
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
673
701
  config_attr :quota_project, nil, ::String, nil
674
702
  config_attr :universe_domain, nil, ::String, nil
703
+ config_attr :logger, :default, ::Logger, nil, :default
675
704
 
676
705
  # @private
677
706
  def initialize parent_config = nil
@@ -32,7 +32,8 @@ module Google
32
32
  # including transcoding, making the REST call, and deserialing the response.
33
33
  #
34
34
  class ServiceStub
35
- def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
35
+ # @private
36
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
36
37
  # These require statements are intentionally placed here to initialize
37
38
  # the REST modules only when it's required.
38
39
  require "gapic/rest"
@@ -42,7 +43,9 @@ module Google
42
43
  universe_domain: universe_domain,
43
44
  credentials: credentials,
44
45
  numeric_enums: true,
45
- raise_faraday_errors: false
46
+ service_name: self.class,
47
+ raise_faraday_errors: false,
48
+ logger: logger
46
49
  end
47
50
 
48
51
  ##
@@ -63,6 +66,15 @@ module Google
63
66
  @client_stub.endpoint
64
67
  end
65
68
 
69
+ ##
70
+ # The logger used for request/response debug logging.
71
+ #
72
+ # @return [Logger]
73
+ #
74
+ def logger stub: false
75
+ stub ? @client_stub.stub_logger : @client_stub.logger
76
+ end
77
+
66
78
  ##
67
79
  # Baseline implementation for the get_license_pool REST call
68
80
  #
@@ -89,16 +101,18 @@ module Google
89
101
 
90
102
  response = @client_stub.make_http_request(
91
103
  verb,
92
- uri: uri,
93
- body: body || "",
94
- params: query_string_params,
104
+ uri: uri,
105
+ body: body || "",
106
+ params: query_string_params,
107
+ method_name: "get_license_pool",
95
108
  options: options
96
109
  )
97
110
  operation = ::Gapic::Rest::TransportOperation.new response
98
111
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool.decode_json response.body, ignore_unknown_fields: true
99
-
100
- yield result, operation if block_given?
101
- result
112
+ catch :response do
113
+ yield result, operation if block_given?
114
+ result
115
+ end
102
116
  end
103
117
 
104
118
  ##
@@ -127,16 +141,18 @@ module Google
127
141
 
128
142
  response = @client_stub.make_http_request(
129
143
  verb,
130
- uri: uri,
131
- body: body || "",
132
- params: query_string_params,
144
+ uri: uri,
145
+ body: body || "",
146
+ params: query_string_params,
147
+ method_name: "update_license_pool",
133
148
  options: options
134
149
  )
135
150
  operation = ::Gapic::Rest::TransportOperation.new response
136
151
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool.decode_json response.body, ignore_unknown_fields: true
137
-
138
- yield result, operation if block_given?
139
- result
152
+ catch :response do
153
+ yield result, operation if block_given?
154
+ result
155
+ end
140
156
  end
141
157
 
142
158
  ##
@@ -165,16 +181,18 @@ module Google
165
181
 
166
182
  response = @client_stub.make_http_request(
167
183
  verb,
168
- uri: uri,
169
- body: body || "",
170
- params: query_string_params,
184
+ uri: uri,
185
+ body: body || "",
186
+ params: query_string_params,
187
+ method_name: "assign",
171
188
  options: options
172
189
  )
173
190
  operation = ::Gapic::Rest::TransportOperation.new response
174
191
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignResponse.decode_json response.body, ignore_unknown_fields: true
175
-
176
- yield result, operation if block_given?
177
- result
192
+ catch :response do
193
+ yield result, operation if block_given?
194
+ result
195
+ end
178
196
  end
179
197
 
180
198
  ##
@@ -203,16 +221,18 @@ module Google
203
221
 
204
222
  response = @client_stub.make_http_request(
205
223
  verb,
206
- uri: uri,
207
- body: body || "",
208
- params: query_string_params,
224
+ uri: uri,
225
+ body: body || "",
226
+ params: query_string_params,
227
+ method_name: "unassign",
209
228
  options: options
210
229
  )
211
230
  operation = ::Gapic::Rest::TransportOperation.new response
212
231
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignResponse.decode_json response.body, ignore_unknown_fields: true
213
-
214
- yield result, operation if block_given?
215
- result
232
+ catch :response do
233
+ yield result, operation if block_given?
234
+ result
235
+ end
216
236
  end
217
237
 
218
238
  ##
@@ -241,16 +261,18 @@ module Google
241
261
 
242
262
  response = @client_stub.make_http_request(
243
263
  verb,
244
- uri: uri,
245
- body: body || "",
246
- params: query_string_params,
264
+ uri: uri,
265
+ body: body || "",
266
+ params: query_string_params,
267
+ method_name: "enumerate_licensed_users",
247
268
  options: options
248
269
  )
249
270
  operation = ::Gapic::Rest::TransportOperation.new response
250
271
  result = ::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersResponse.decode_json response.body, ignore_unknown_fields: true
251
-
252
- yield result, operation if block_given?
253
- result
272
+ catch :response do
273
+ yield result, operation if block_given?
274
+ result
275
+ end
254
276
  end
255
277
 
256
278
  ##
@@ -23,7 +23,7 @@ module Google
23
23
  module Consumer
24
24
  module Procurement
25
25
  module V1
26
- VERSION = "1.1.0"
26
+ VERSION = "1.3.0"
27
27
  end
28
28
  end
29
29
  end
@@ -28,6 +28,9 @@ module Google
28
28
  # @!attribute [rw] destinations
29
29
  # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
30
  # The destination where API teams want this client library to be published.
31
+ # @!attribute [rw] selective_gapic_generation
32
+ # @return [::Google::Api::SelectiveGapicGeneration]
33
+ # Configuration for which RPCs should be generated in the GAPIC client.
31
34
  class CommonLanguageSettings
32
35
  include ::Google::Protobuf::MessageExts
33
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,12 @@ module Google
212
215
  # enabled. By default, asynchronous REST clients will not be generated.
213
216
  # This feature will be enabled by default 1 month after launching the
214
217
  # feature in preview packages.
218
+ # @!attribute [rw] protobuf_pythonic_types_enabled
219
+ # @return [::Boolean]
220
+ # Enables generation of protobuf code using new types that are more
221
+ # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
+ # enabled by default 1 month after launching the feature in preview
223
+ # packages.
215
224
  class ExperimentalFeatures
216
225
  include ::Google::Protobuf::MessageExts
217
226
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -297,9 +306,28 @@ module Google
297
306
  # @!attribute [rw] common
298
307
  # @return [::Google::Api::CommonLanguageSettings]
299
308
  # Some settings.
309
+ # @!attribute [rw] renamed_services
310
+ # @return [::Google::Protobuf::Map{::String => ::String}]
311
+ # Map of service names to renamed services. Keys are the package relative
312
+ # service names and values are the name to be used for the service client
313
+ # and call options.
314
+ #
315
+ # publishing:
316
+ # go_settings:
317
+ # renamed_services:
318
+ # Publisher: TopicAdmin
300
319
  class GoSettings
301
320
  include ::Google::Protobuf::MessageExts
302
321
  extend ::Google::Protobuf::MessageExts::ClassMethods
322
+
323
+ # @!attribute [rw] key
324
+ # @return [::String]
325
+ # @!attribute [rw] value
326
+ # @return [::String]
327
+ class RenamedServicesEntry
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
303
331
  end
304
332
 
305
333
  # Describes the generator configuration for a method.
@@ -375,6 +403,17 @@ module Google
375
403
  end
376
404
  end
377
405
 
406
+ # This message is used to configure the generation of a subset of the RPCs in
407
+ # a service for client libraries.
408
+ # @!attribute [rw] methods
409
+ # @return [::Array<::String>]
410
+ # An allowlist of the fully qualified names of RPCs that should be included
411
+ # on public client surfaces.
412
+ class SelectiveGapicGeneration
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
+ end
416
+
378
417
  # The organization for which the client libraries are being published.
379
418
  # Affects the url where generated docs are published, etc.
380
419
  module ClientLibraryOrganization
@@ -27,9 +27,13 @@ module Google
27
27
  # @!attribute [rw] manual_assignment_type
28
28
  # @return [::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType]
29
29
  # Allow manual assignments triggered by administrative operations only.
30
+ #
31
+ # Note: The following fields are mutually exclusive: `manual_assignment_type`, `auto_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
30
32
  # @!attribute [rw] auto_assignment_type
31
33
  # @return [::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType]
32
34
  # Allow automatic assignments triggered by data plane operations.
35
+ #
36
+ # Note: The following fields are mutually exclusive: `auto_assignment_type`, `manual_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
33
37
  class AssignmentProtocol
34
38
  include ::Google::Protobuf::MessageExts
35
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -162,12 +162,18 @@ module Google
162
162
  # @!attribute [rw] int64_value
163
163
  # @return [::Integer]
164
164
  # Represents an int64 value.
165
+ #
166
+ # Note: The following fields are mutually exclusive: `int64_value`, `string_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
165
167
  # @!attribute [rw] string_value
166
168
  # @return [::String]
167
169
  # Represents a string value.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `string_value`, `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
172
  # @!attribute [rw] double_value
169
173
  # @return [::Float]
170
174
  # Represents a double value.
175
+ #
176
+ # Note: The following fields are mutually exclusive: `double_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
177
  class Value
172
178
  include ::Google::Protobuf::MessageExts
173
179
  extend ::Google::Protobuf::MessageExts::ClassMethods