google-apis-serviceusage_v1beta1 0.43.0 → 0.45.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a04e96f88ca404ccd2c876ae6b9f7e6d8707c6879b65e6ff679aec904626afb3
|
4
|
+
data.tar.gz: 1cb8a90253e644cf452daefb92034d55fe07478030ab9f6848c083cca8501397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03726abbaf720f36e2d95fda1eba0be1107d7853063c3ad30dd261b46ca9f1fdbc512555be08d80aaaeee684135307a55d9d0f2a1c8efed815dc1e1c53ae2c71
|
7
|
+
data.tar.gz: 04bb85790110f5592b32d3f86cb6285cc8d446eff1ffb088b15c0827f0fe9a01f4c3b7471e84a89e97e93aa79de837f7c2dac5cbe9f77838643ccbc793c4170b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
2
2
|
|
3
|
+
### v0.45.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230815
|
6
|
+
|
7
|
+
### v0.44.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230806
|
10
|
+
|
3
11
|
### v0.43.0 (2023-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230719
|
@@ -3887,13 +3887,13 @@ module Google
|
|
3887
3887
|
# @return [String]
|
3888
3888
|
attr_accessor :name
|
3889
3889
|
|
3890
|
-
# The normal response of the operation
|
3891
|
-
#
|
3892
|
-
#
|
3893
|
-
#
|
3894
|
-
#
|
3895
|
-
#
|
3896
|
-
#
|
3890
|
+
# The normal, successful response of the operation. If the original method
|
3891
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
3892
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
3893
|
+
# response should be the resource. For other methods, the response should have
|
3894
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
3895
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
3896
|
+
# `TakeSnapshotResponse`.
|
3897
3897
|
# Corresponds to the JSON property `response`
|
3898
3898
|
# @return [Hash<String,Object>]
|
3899
3899
|
attr_accessor :response
|
@@ -4044,6 +4044,77 @@ module Google
|
|
4044
4044
|
end
|
4045
4045
|
end
|
4046
4046
|
|
4047
|
+
# Quota policy created by service producer.
|
4048
|
+
class ProducerQuotaPolicy
|
4049
|
+
include Google::Apis::Core::Hashable
|
4050
|
+
|
4051
|
+
# The cloud resource container at which the quota policy is created. The format
|
4052
|
+
# is ``container_type`/`container_number``
|
4053
|
+
# Corresponds to the JSON property `container`
|
4054
|
+
# @return [String]
|
4055
|
+
attr_accessor :container
|
4056
|
+
|
4057
|
+
# If this map is nonempty, then this policy applies only to specific values for
|
4058
|
+
# dimensions defined in the limit unit. For example, a policy on a limit with
|
4059
|
+
# the unit `1/`project`/`region`` could contain an entry with the key `region`
|
4060
|
+
# and the value `us-east-1`; the policy is only applied to quota consumed in
|
4061
|
+
# that region. This map has the following restrictions: * Keys that are not
|
4062
|
+
# defined in the limit's unit are not valid keys. Any string appearing in `
|
4063
|
+
# brackets` in the unit (besides `project` or `user`) is a defined key. * `
|
4064
|
+
# project` is not a valid key; the project is already specified in the parent
|
4065
|
+
# resource name. * `user` is not a valid key; the API does not support quota
|
4066
|
+
# policies that apply only to a specific user. * If `region` appears as a key,
|
4067
|
+
# its value must be a valid Cloud region. * If `zone` appears as a key, its
|
4068
|
+
# value must be a valid Cloud zone. * If any valid key other than `region` or `
|
4069
|
+
# zone` appears in the map, then all valid keys other than `region` or `zone`
|
4070
|
+
# must also appear in the map.
|
4071
|
+
# Corresponds to the JSON property `dimensions`
|
4072
|
+
# @return [Hash<String,String>]
|
4073
|
+
attr_accessor :dimensions
|
4074
|
+
|
4075
|
+
# The name of the metric to which this policy applies. An example name would be:
|
4076
|
+
# `compute.googleapis.com/cpus`
|
4077
|
+
# Corresponds to the JSON property `metric`
|
4078
|
+
# @return [String]
|
4079
|
+
attr_accessor :metric
|
4080
|
+
|
4081
|
+
# The resource name of the policy. This name is generated by the server when the
|
4082
|
+
# policy is created. Example names would be: `organizations/123/services/compute.
|
4083
|
+
# googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%
|
4084
|
+
# 2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`
|
4085
|
+
# Corresponds to the JSON property `name`
|
4086
|
+
# @return [String]
|
4087
|
+
attr_accessor :name
|
4088
|
+
|
4089
|
+
# The quota policy value. Can be any nonnegative integer, or -1 (unlimited quota)
|
4090
|
+
# .
|
4091
|
+
# Corresponds to the JSON property `policyValue`
|
4092
|
+
# @return [Fixnum]
|
4093
|
+
attr_accessor :policy_value
|
4094
|
+
|
4095
|
+
# The limit unit of the limit to which this policy applies. An example unit
|
4096
|
+
# would be: `1/`project`/`region`` Note that ``project`` and ``region`` are not
|
4097
|
+
# placeholders in this example; the literal characters ``` and ``` occur in the
|
4098
|
+
# string.
|
4099
|
+
# Corresponds to the JSON property `unit`
|
4100
|
+
# @return [String]
|
4101
|
+
attr_accessor :unit
|
4102
|
+
|
4103
|
+
def initialize(**args)
|
4104
|
+
update!(**args)
|
4105
|
+
end
|
4106
|
+
|
4107
|
+
# Update properties of this object
|
4108
|
+
def update!(**args)
|
4109
|
+
@container = args[:container] if args.key?(:container)
|
4110
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
4111
|
+
@metric = args[:metric] if args.key?(:metric)
|
4112
|
+
@name = args[:name] if args.key?(:name)
|
4113
|
+
@policy_value = args[:policy_value] if args.key?(:policy_value)
|
4114
|
+
@unit = args[:unit] if args.key?(:unit)
|
4115
|
+
end
|
4116
|
+
end
|
4117
|
+
|
4047
4118
|
# This message configures the settings for publishing [Google Cloud Client
|
4048
4119
|
# libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
|
4049
4120
|
# generated from the service config.
|
@@ -4234,6 +4305,11 @@ module Google
|
|
4234
4305
|
# @return [Google::Apis::ServiceusageV1beta1::QuotaOverride]
|
4235
4306
|
attr_accessor :producer_override
|
4236
4307
|
|
4308
|
+
# Quota policy created by service producer.
|
4309
|
+
# Corresponds to the JSON property `producerQuotaPolicy`
|
4310
|
+
# @return [Google::Apis::ServiceusageV1beta1::ProducerQuotaPolicy]
|
4311
|
+
attr_accessor :producer_quota_policy
|
4312
|
+
|
4237
4313
|
def initialize(**args)
|
4238
4314
|
update!(**args)
|
4239
4315
|
end
|
@@ -4246,6 +4322,7 @@ module Google
|
|
4246
4322
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
4247
4323
|
@effective_limit = args[:effective_limit] if args.key?(:effective_limit)
|
4248
4324
|
@producer_override = args[:producer_override] if args.key?(:producer_override)
|
4325
|
+
@producer_quota_policy = args[:producer_quota_policy] if args.key?(:producer_quota_policy)
|
4249
4326
|
end
|
4250
4327
|
end
|
4251
4328
|
|
@@ -4947,19 +5024,6 @@ module Google
|
|
4947
5024
|
end
|
4948
5025
|
end
|
4949
5026
|
|
4950
|
-
# Metadata for the `UpdateConsumerPolicyLRO` method.
|
4951
|
-
class UpdateConsumerPolicyLroMetadata
|
4952
|
-
include Google::Apis::Core::Hashable
|
4953
|
-
|
4954
|
-
def initialize(**args)
|
4955
|
-
update!(**args)
|
4956
|
-
end
|
4957
|
-
|
4958
|
-
# Update properties of this object
|
4959
|
-
def update!(**args)
|
4960
|
-
end
|
4961
|
-
end
|
4962
|
-
|
4963
5027
|
# Metadata for the `UpdateConsumerPolicy` method.
|
4964
5028
|
class UpdateConsumerPolicyMetadata
|
4965
5029
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceusageV1beta1
|
18
18
|
# Version of the google-apis-serviceusage_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.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 = "20230815"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -586,6 +586,12 @@ module Google
|
|
586
586
|
include Google::Apis::Core::JsonObjectSupport
|
587
587
|
end
|
588
588
|
|
589
|
+
class ProducerQuotaPolicy
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
589
595
|
class Publishing
|
590
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
597
|
|
@@ -706,12 +712,6 @@ module Google
|
|
706
712
|
include Google::Apis::Core::JsonObjectSupport
|
707
713
|
end
|
708
714
|
|
709
|
-
class UpdateConsumerPolicyLroMetadata
|
710
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
-
|
712
|
-
include Google::Apis::Core::JsonObjectSupport
|
713
|
-
end
|
714
|
-
|
715
715
|
class UpdateConsumerPolicyMetadata
|
716
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
717
|
|
@@ -1704,6 +1704,18 @@ module Google
|
|
1704
1704
|
end
|
1705
1705
|
end
|
1706
1706
|
|
1707
|
+
class ProducerQuotaPolicy
|
1708
|
+
# @private
|
1709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1710
|
+
property :container, as: 'container'
|
1711
|
+
hash :dimensions, as: 'dimensions'
|
1712
|
+
property :metric, as: 'metric'
|
1713
|
+
property :name, as: 'name'
|
1714
|
+
property :policy_value, :numeric_string => true, as: 'policyValue'
|
1715
|
+
property :unit, as: 'unit'
|
1716
|
+
end
|
1717
|
+
end
|
1718
|
+
|
1707
1719
|
class Publishing
|
1708
1720
|
# @private
|
1709
1721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1752,6 +1764,8 @@ module Google
|
|
1752
1764
|
property :effective_limit, :numeric_string => true, as: 'effectiveLimit'
|
1753
1765
|
property :producer_override, as: 'producerOverride', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
|
1754
1766
|
|
1767
|
+
property :producer_quota_policy, as: 'producerQuotaPolicy', class: Google::Apis::ServiceusageV1beta1::ProducerQuotaPolicy, decorator: Google::Apis::ServiceusageV1beta1::ProducerQuotaPolicy::Representation
|
1768
|
+
|
1755
1769
|
end
|
1756
1770
|
end
|
1757
1771
|
|
@@ -1919,12 +1933,6 @@ module Google
|
|
1919
1933
|
end
|
1920
1934
|
end
|
1921
1935
|
|
1922
|
-
class UpdateConsumerPolicyLroMetadata
|
1923
|
-
# @private
|
1924
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1925
|
-
end
|
1926
|
-
end
|
1927
|
-
|
1928
1936
|
class UpdateConsumerPolicyMetadata
|
1929
1937
|
# @private
|
1930
1938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceusage_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
11
|
+
date: 2023-08-27 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-serviceusage_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_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.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Usage API V1beta1
|