google-apis-serviceconsumermanagement_v1beta1 0.40.0 → 0.42.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: 2959b328dc1bd432d720857d8133119c1f6beb9cb4aa9422b5a983fd38a7cf45
4
- data.tar.gz: a68428200f72847e1bbe6406c6d2d064d06ea6af525a549a5df4d9648d0b31ee
3
+ metadata.gz: 1c39c34703e010a99266c499d303f3a1ae621b24654a55778f61f33ef305eb41
4
+ data.tar.gz: 017a524024775f1cdbdac1303f78aa0ae2ed93e700b9707aff464570867d3c7b
5
5
  SHA512:
6
- metadata.gz: 166bf2f689ff8c02936a3e53edc583c16f96f22be52ae06c0053a1d309f73bf3082ebb68eefeabd861c715929757e860d2c2275a4567e8d2db01cd4a130c8edf
7
- data.tar.gz: c20781717daa9eccd8a9cf40690311225aeaca8bd9e32c080b9c8b71afaefc00ca46f04b733c0f059f632765791f644b44e0763314bc53218019956e521d8c04
6
+ metadata.gz: 372fd19179470cea163c5ff593dabc2bcb87a8216f3d05e291a6e08b72195a8644ecc46da08852dcd60cff3cee7e5a587df2cb2486727e1f194cbeaef08e6830
7
+ data.tar.gz: 6a24c78ce4a4c4392f4ab1a25090ebe6b76f1c39d6494238c5cec6c3746d39b14da3cc2c9901dfc2aea7172cf208b7e00c6e06b0bd0694814020a12260382fc8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.42.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231210
6
+
7
+ ### v0.41.0 (2023-12-03)
8
+
9
+ * Regenerated from discovery document revision 20231128
10
+
3
11
  ### v0.40.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230815
@@ -1889,6 +1889,15 @@ module Google
1889
1889
  class MethodSettings
1890
1890
  include Google::Apis::Core::Hashable
1891
1891
 
1892
+ # List of top-level fields of the request message, that should be automatically
1893
+ # populated by the client libraries based on their (google.api.field_info).
1894
+ # format. Currently supported format: UUID4. Example of a YAML configuration:
1895
+ # publishing: method_settings: - selector: google.example.v1.ExampleService.
1896
+ # CreateExample auto_populated_fields: - request_id
1897
+ # Corresponds to the JSON property `autoPopulatedFields`
1898
+ # @return [Array<String>]
1899
+ attr_accessor :auto_populated_fields
1900
+
1892
1901
  # Describes settings to use when generating API methods that use the long-
1893
1902
  # running operation pattern. All default values below are from those used in the
1894
1903
  # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -1910,6 +1919,7 @@ module Google
1910
1919
 
1911
1920
  # Update properties of this object
1912
1921
  def update!(**args)
1922
+ @auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
1913
1923
  @long_running = args[:long_running] if args.key?(:long_running)
1914
1924
  @selector = args[:selector] if args.key?(:selector)
1915
1925
  end
@@ -2603,6 +2613,12 @@ module Google
2603
2613
  # @return [String]
2604
2614
  attr_accessor :proto_reference_documentation_uri
2605
2615
 
2616
+ # Optional link to REST reference documentation. Example: https://cloud.google.
2617
+ # com/pubsub/lite/docs/reference/rest
2618
+ # Corresponds to the JSON property `restReferenceDocumentationUri`
2619
+ # @return [String]
2620
+ attr_accessor :rest_reference_documentation_uri
2621
+
2606
2622
  def initialize(**args)
2607
2623
  update!(**args)
2608
2624
  end
@@ -2619,6 +2635,7 @@ module Google
2619
2635
  @new_issue_uri = args[:new_issue_uri] if args.key?(:new_issue_uri)
2620
2636
  @organization = args[:organization] if args.key?(:organization)
2621
2637
  @proto_reference_documentation_uri = args[:proto_reference_documentation_uri] if args.key?(:proto_reference_documentation_uri)
2638
+ @rest_reference_documentation_uri = args[:rest_reference_documentation_uri] if args.key?(:rest_reference_documentation_uri)
2622
2639
  end
2623
2640
  end
2624
2641
 
@@ -3483,6 +3500,62 @@ module Google
3483
3500
  end
3484
3501
  end
3485
3502
 
3503
+ # A property assigned to a consumer of a service.
3504
+ class V1Beta1ConsumerProperty
3505
+ include Google::Apis::Core::Hashable
3506
+
3507
+ # Output only. The description of the property.
3508
+ # Corresponds to the JSON property `description`
3509
+ # @return [String]
3510
+ attr_accessor :description
3511
+
3512
+ # Output only. The resource name of this property. An example name would be: `
3513
+ # services/serviceconsumermanagement.googleapis.com/projects/123/properties/
3514
+ # SERVICE_LEVEL` The resource name is intended to be opaque and should not be
3515
+ # parsed for its component strings, since its representation could change in the
3516
+ # future.
3517
+ # Corresponds to the JSON property `name`
3518
+ # @return [String]
3519
+ attr_accessor :name
3520
+
3521
+ # This resource represents a long-running operation that is the result of a
3522
+ # network API call.
3523
+ # Corresponds to the JSON property `propagation`
3524
+ # @return [Google::Apis::ServiceconsumermanagementV1beta1::Operation]
3525
+ attr_accessor :propagation
3526
+
3527
+ # Output only. The name of the property as it appears in the service
3528
+ # configuration. An example property name would be: `SERVICE_LEVEL`
3529
+ # Corresponds to the JSON property `propertyKey`
3530
+ # @return [String]
3531
+ attr_accessor :property_key
3532
+
3533
+ # Output only. The type of this property.
3534
+ # Corresponds to the JSON property `type`
3535
+ # @return [String]
3536
+ attr_accessor :type
3537
+
3538
+ # Value of this property for the consumer. This field may be empty if the
3539
+ # consumer has not been assigned a value.
3540
+ # Corresponds to the JSON property `value`
3541
+ # @return [Object]
3542
+ attr_accessor :value
3543
+
3544
+ def initialize(**args)
3545
+ update!(**args)
3546
+ end
3547
+
3548
+ # Update properties of this object
3549
+ def update!(**args)
3550
+ @description = args[:description] if args.key?(:description)
3551
+ @name = args[:name] if args.key?(:name)
3552
+ @propagation = args[:propagation] if args.key?(:propagation)
3553
+ @property_key = args[:property_key] if args.key?(:property_key)
3554
+ @type = args[:type] if args.key?(:type)
3555
+ @value = args[:value] if args.key?(:value)
3556
+ end
3557
+ end
3558
+
3486
3559
  # Consumer quota settings for a quota limit.
3487
3560
  class V1Beta1ConsumerQuotaLimit
3488
3561
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1beta1
18
18
  # Version of the google-apis-serviceconsumermanagement_v1beta1 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.42.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 = "20230815"
25
+ REVISION = "20231210"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,12 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class V1Beta1ConsumerProperty
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
439
445
  class V1Beta1ConsumerQuotaLimit
440
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
447
 
@@ -1016,6 +1022,7 @@ module Google
1016
1022
  class MethodSettings
1017
1023
  # @private
1018
1024
  class Representation < Google::Apis::Core::JsonRepresentation
1025
+ collection :auto_populated_fields, as: 'autoPopulatedFields'
1019
1026
  property :long_running, as: 'longRunning', class: Google::Apis::ServiceconsumermanagementV1beta1::LongRunning, decorator: Google::Apis::ServiceconsumermanagementV1beta1::LongRunning::Representation
1020
1027
 
1021
1028
  property :selector, as: 'selector'
@@ -1165,6 +1172,7 @@ module Google
1165
1172
  property :new_issue_uri, as: 'newIssueUri'
1166
1173
  property :organization, as: 'organization'
1167
1174
  property :proto_reference_documentation_uri, as: 'protoReferenceDocumentationUri'
1175
+ property :rest_reference_documentation_uri, as: 'restReferenceDocumentationUri'
1168
1176
  end
1169
1177
  end
1170
1178
 
@@ -1359,6 +1367,19 @@ module Google
1359
1367
  end
1360
1368
  end
1361
1369
 
1370
+ class V1Beta1ConsumerProperty
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ property :description, as: 'description'
1374
+ property :name, as: 'name'
1375
+ property :propagation, as: 'propagation', class: Google::Apis::ServiceconsumermanagementV1beta1::Operation, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Operation::Representation
1376
+
1377
+ property :property_key, as: 'propertyKey'
1378
+ property :type, as: 'type'
1379
+ property :value, as: 'value'
1380
+ end
1381
+ end
1382
+
1362
1383
  class V1Beta1ConsumerQuotaLimit
1363
1384
  # @private
1364
1385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -415,6 +415,42 @@ module Google
415
415
  command.query['quotaUser'] = quota_user unless quota_user.nil?
416
416
  execute_or_queue_command(command, &block)
417
417
  end
418
+
419
+ # Creates a consumer property. If the property already exists, this method fails
420
+ # with an ALREADY_EXISTS error. For this failure case, the Status details field
421
+ # will contain the existing property's value.
422
+ # @param [String] parent
423
+ # Required. Name of the property to create. An example name would be: `services/
424
+ # serviceconsumermanagement.googleapis.com/projects/123`
425
+ # @param [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty] v1_beta1_consumer_property_object
426
+ # @param [String] fields
427
+ # Selector specifying which fields to include in a partial response.
428
+ # @param [String] quota_user
429
+ # Available to use for quota purposes for server-side applications. Can be any
430
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
431
+ # @param [Google::Apis::RequestOptions] options
432
+ # Request-specific options
433
+ #
434
+ # @yield [result, err] Result & error if block supplied
435
+ # @yieldparam result [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty] parsed result object
436
+ # @yieldparam err [StandardError] error object if request failed
437
+ #
438
+ # @return [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty]
439
+ #
440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
443
+ def create_service_property(parent, v1_beta1_consumer_property_object = nil, fields: nil, quota_user: nil, options: nil, &block)
444
+ command = make_simple_command(:post, 'v1beta1/{+parent}/properties', options)
445
+ command.request_representation = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty::Representation
446
+ command.request_object = v1_beta1_consumer_property_object
447
+ command.response_representation = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty::Representation
448
+ command.response_class = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerProperty
449
+ command.params['parent'] = parent unless parent.nil?
450
+ command.query['fields'] = fields unless fields.nil?
451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
452
+ execute_or_queue_command(command, &block)
453
+ end
418
454
 
419
455
  protected
420
456
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.42.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-08-27 00:00:00.000000000 Z
11
+ date: 2023-12-17 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-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.42.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []