google-apis-serviceconsumermanagement_v1beta1 0.43.0 → 0.45.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: f441efe417fc832613b1d5ccb6a3da567cb5b2acee54a8de1c3459ac4039fc6f
4
- data.tar.gz: a3cef7d78c7e66f2fbefceecba34f810e2d5488934e1731a7209f19376258350
3
+ metadata.gz: 58fff31af40b01ae1edad7f970fbc8181e1b70f811be0d483909dc6b81347c62
4
+ data.tar.gz: 1888053f9824776b62c7597c7adc377f422cb05982064d2313eee3b9813983c8
5
5
  SHA512:
6
- metadata.gz: 0e74fdc395b0fd99c51009d39e1a44f863207700f62bd49dc9b51f69120539f33edf5600f317c658957473ab8ecfdacd9bd4547b11f39178ed531c09bf04c7da
7
- data.tar.gz: 283c00276b688563a1a8f9bd61ed85ce6092f1236429fffdeda1304d4abcd55543fda33d386bd2e7e03b8c869e71c95dc940cb1a0896bcb5af62d81022993507
6
+ metadata.gz: effa22794c04ae481e438802428f6c369ab14fec97046a4909a9d282cb83298a536b8f1093795d461aec257bf3e42d61b71a0c4f3149e03eec0d9d86d187a9ce
7
+ data.tar.gz: 1a59949f7749c47746d725a8854b19d582f08350945e9695bc6ae77e607519e0699fde403cc7bcabba49172619304fa69bc32679d46a2bfed2db325951eeeaff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.45.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.44.0 (2024-01-07)
8
+
9
+ * Regenerated from discovery document revision 20240102
10
+
3
11
  ### v0.43.0 (2023-12-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20231217
@@ -3500,62 +3500,6 @@ module Google
3500
3500
  end
3501
3501
  end
3502
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
-
3559
3503
  # Consumer quota settings for a quota limit.
3560
3504
  class V1Beta1ConsumerQuotaLimit
3561
3505
  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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231217"
25
+ REVISION = "20240102"
26
26
  end
27
27
  end
28
28
  end
@@ -436,12 +436,6 @@ 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
-
445
439
  class V1Beta1ConsumerQuotaLimit
446
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
441
 
@@ -1367,19 +1361,6 @@ module Google
1367
1361
  end
1368
1362
  end
1369
1363
 
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
-
1383
1364
  class V1Beta1ConsumerQuotaLimit
1384
1365
  # @private
1385
1366
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/service-consumer-management/docs/overview
34
34
  class ServiceConsumerManagementService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://serviceconsumermanagement.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://serviceconsumermanagement.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-serviceconsumermanagement_v1beta1',
48
50
  client_version: Google::Apis::ServiceconsumermanagementV1beta1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -415,42 +417,6 @@ module Google
415
417
  command.query['quotaUser'] = quota_user unless quota_user.nil?
416
418
  execute_or_queue_command(command, &block)
417
419
  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
454
420
 
455
421
  protected
456
422
 
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.43.0
4
+ version: 0.45.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-12-24 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.0
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.11.0
29
+ version: 0.12.0
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-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.45.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: []
@@ -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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Consumer Management API V1beta1