google-apis-serviceusage_v1 0.39.0 → 0.41.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5445dc9872ed02df167a875756e130156ac38f0aa8adb04f43931886957c1b9
|
4
|
+
data.tar.gz: 93ed219e922df3e1d589b7647cb6b7cf9f9eb30720329c33f51b2a69163cf4a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fcbca97af4969d8391077932d11f034f86b08825c1b6da716a0e5992efb3c0a06dfe968c469935c59c89d5187c5941aefe552645640495e66daa94e3275c330
|
7
|
+
data.tar.gz: 8be9908d34634f4c5d710143751afe63ea8711f87976b98a35a6cb485bfc0e4a9774d0ae712b1dd8d45c247ca42966d20061da402545de4eac208ec85b0d76c9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230719
|
6
|
+
|
7
|
+
### v0.40.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230710
|
10
|
+
|
3
11
|
### v0.39.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230619
|
@@ -954,6 +954,11 @@ module Google
|
|
954
954
|
# @return [String]
|
955
955
|
attr_accessor :environment
|
956
956
|
|
957
|
+
# Defines policies applying to the API methods of the service.
|
958
|
+
# Corresponds to the JSON property `methodPolicies`
|
959
|
+
# @return [Array<Google::Apis::ServiceusageV1::MethodPolicy>]
|
960
|
+
attr_accessor :method_policies
|
961
|
+
|
957
962
|
def initialize(**args)
|
958
963
|
update!(**args)
|
959
964
|
end
|
@@ -961,6 +966,7 @@ module Google
|
|
961
966
|
# Update properties of this object
|
962
967
|
def update!(**args)
|
963
968
|
@environment = args[:environment] if args.key?(:environment)
|
969
|
+
@method_policies = args[:method_policies] if args.key?(:method_policies)
|
964
970
|
end
|
965
971
|
end
|
966
972
|
|
@@ -1674,6 +1680,50 @@ module Google
|
|
1674
1680
|
end
|
1675
1681
|
end
|
1676
1682
|
|
1683
|
+
# Google API Policy Annotation This message defines a simple API policy
|
1684
|
+
# annotation that can be used to annotate API request and response message
|
1685
|
+
# fields with applicable policies. One field may have multiple applicable
|
1686
|
+
# policies that must all be satisfied before a request can be processed. This
|
1687
|
+
# policy annotation is used to generate the overall policy that will be used for
|
1688
|
+
# automatic runtime policy enforcement and documentation generation.
|
1689
|
+
class FieldPolicy
|
1690
|
+
include Google::Apis::Core::Hashable
|
1691
|
+
|
1692
|
+
# Specifies the required permission(s) for the resource referred to by the field.
|
1693
|
+
# It requires the field contains a valid resource reference, and the request
|
1694
|
+
# must pass the permission checks to proceed. For example, "resourcemanager.
|
1695
|
+
# projects.get".
|
1696
|
+
# Corresponds to the JSON property `resourcePermission`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :resource_permission
|
1699
|
+
|
1700
|
+
# Specifies the resource type for the resource referred to by the field.
|
1701
|
+
# Corresponds to the JSON property `resourceType`
|
1702
|
+
# @return [String]
|
1703
|
+
attr_accessor :resource_type
|
1704
|
+
|
1705
|
+
# Selects one or more request or response message fields to apply this `
|
1706
|
+
# FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
|
1707
|
+
# must be left as empty. The service config generator will automatically fill
|
1708
|
+
# the correct value. When a `FieldPolicy` is used in service config, the
|
1709
|
+
# selector must be a comma-separated string with valid request or response field
|
1710
|
+
# paths, such as "foo.bar" or "foo.bar,foo.baz".
|
1711
|
+
# Corresponds to the JSON property `selector`
|
1712
|
+
# @return [String]
|
1713
|
+
attr_accessor :selector
|
1714
|
+
|
1715
|
+
def initialize(**args)
|
1716
|
+
update!(**args)
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
# Update properties of this object
|
1720
|
+
def update!(**args)
|
1721
|
+
@resource_permission = args[:resource_permission] if args.key?(:resource_permission)
|
1722
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1723
|
+
@selector = args[:selector] if args.key?(:selector)
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1677
1727
|
# Metadata for the `GetServiceIdentity` method.
|
1678
1728
|
class GetServiceIdentityMetadata
|
1679
1729
|
include Google::Apis::Core::Hashable
|
@@ -3047,6 +3097,34 @@ module Google
|
|
3047
3097
|
end
|
3048
3098
|
end
|
3049
3099
|
|
3100
|
+
# Defines policies applying to an RPC method.
|
3101
|
+
class MethodPolicy
|
3102
|
+
include Google::Apis::Core::Hashable
|
3103
|
+
|
3104
|
+
# Policies that are applicable to the request message.
|
3105
|
+
# Corresponds to the JSON property `requestPolicies`
|
3106
|
+
# @return [Array<Google::Apis::ServiceusageV1::FieldPolicy>]
|
3107
|
+
attr_accessor :request_policies
|
3108
|
+
|
3109
|
+
# Selects a method to which these policies should be enforced, for example, "
|
3110
|
+
# google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
|
3111
|
+
# details. NOTE: This field must not be set in the proto annotation. It will be
|
3112
|
+
# automatically filled by the service config compiler .
|
3113
|
+
# Corresponds to the JSON property `selector`
|
3114
|
+
# @return [String]
|
3115
|
+
attr_accessor :selector
|
3116
|
+
|
3117
|
+
def initialize(**args)
|
3118
|
+
update!(**args)
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
# Update properties of this object
|
3122
|
+
def update!(**args)
|
3123
|
+
@request_policies = args[:request_policies] if args.key?(:request_policies)
|
3124
|
+
@selector = args[:selector] if args.key?(:selector)
|
3125
|
+
end
|
3126
|
+
end
|
3127
|
+
|
3050
3128
|
# Describes the generator configuration for a method.
|
3051
3129
|
class MethodSettings
|
3052
3130
|
include Google::Apis::Core::Hashable
|
@@ -4392,6 +4470,19 @@ module Google
|
|
4392
4470
|
end
|
4393
4471
|
end
|
4394
4472
|
|
4473
|
+
# Metadata for the `UpdateConsumerPolicy` method.
|
4474
|
+
class UpdateConsumerPolicyMetadata
|
4475
|
+
include Google::Apis::Core::Hashable
|
4476
|
+
|
4477
|
+
def initialize(**args)
|
4478
|
+
update!(**args)
|
4479
|
+
end
|
4480
|
+
|
4481
|
+
# Update properties of this object
|
4482
|
+
def update!(**args)
|
4483
|
+
end
|
4484
|
+
end
|
4485
|
+
|
4395
4486
|
# Configuration controlling usage of a service.
|
4396
4487
|
class Usage
|
4397
4488
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceusageV1
|
18
18
|
# Version of the google-apis-serviceusage_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.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 = "20230719"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,6 +286,12 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
+
class FieldPolicy
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
289
295
|
class GetServiceIdentityMetadata
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
297
|
|
@@ -448,6 +454,12 @@ module Google
|
|
448
454
|
include Google::Apis::Core::JsonObjectSupport
|
449
455
|
end
|
450
456
|
|
457
|
+
class MethodPolicy
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
451
463
|
class MethodSettings
|
452
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
465
|
|
@@ -646,6 +658,12 @@ module Google
|
|
646
658
|
include Google::Apis::Core::JsonObjectSupport
|
647
659
|
end
|
648
660
|
|
661
|
+
class UpdateConsumerPolicyMetadata
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
649
667
|
class Usage
|
650
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
669
|
|
@@ -900,6 +918,8 @@ module Google
|
|
900
918
|
# @private
|
901
919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
902
920
|
property :environment, as: 'environment'
|
921
|
+
collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServiceusageV1::MethodPolicy, decorator: Google::Apis::ServiceusageV1::MethodPolicy::Representation
|
922
|
+
|
903
923
|
end
|
904
924
|
end
|
905
925
|
|
@@ -1093,6 +1113,15 @@ module Google
|
|
1093
1113
|
end
|
1094
1114
|
end
|
1095
1115
|
|
1116
|
+
class FieldPolicy
|
1117
|
+
# @private
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1119
|
+
property :resource_permission, as: 'resourcePermission'
|
1120
|
+
property :resource_type, as: 'resourceType'
|
1121
|
+
property :selector, as: 'selector'
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1096
1125
|
class GetServiceIdentityMetadata
|
1097
1126
|
# @private
|
1098
1127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1401,6 +1430,15 @@ module Google
|
|
1401
1430
|
end
|
1402
1431
|
end
|
1403
1432
|
|
1433
|
+
class MethodPolicy
|
1434
|
+
# @private
|
1435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
|
+
collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServiceusageV1::FieldPolicy, decorator: Google::Apis::ServiceusageV1::FieldPolicy::Representation
|
1437
|
+
|
1438
|
+
property :selector, as: 'selector'
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1404
1442
|
class MethodSettings
|
1405
1443
|
# @private
|
1406
1444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1716,6 +1754,12 @@ module Google
|
|
1716
1754
|
end
|
1717
1755
|
end
|
1718
1756
|
|
1757
|
+
class UpdateConsumerPolicyMetadata
|
1758
|
+
# @private
|
1759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1719
1763
|
class Usage
|
1720
1764
|
# @private
|
1721
1765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceusage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.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-07-23 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.41.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|