google-apis-serviceusage_v1beta1 0.42.0 → 0.43.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: 7f0530b36ffea7ca499bf59dce98e3e3a928deeea7b7e35f5f56a32cf3c55733
|
4
|
+
data.tar.gz: b8a2f3ec7fc28f0c32d623269c0ea3626a699345ce7cd8e3e3c93ede136dc1ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97aebc943cab5ae72ab48630257158f829b8585464d8e3a3594ef9109c9db7db6eeb66264b534057fc6e2bc8f14ef6827a75817a3578a9c48e12fdb2e0b8bcf1
|
7
|
+
data.tar.gz: 84b148d7f355a462d27ad6d94b130ec3d16bf89ee027d844a3cbd07291a749872cba6cd8fff396e4df03296d3e2ed002e7176b3264fd80923f3e862d4fe0ff17
|
data/CHANGELOG.md
CHANGED
@@ -1048,6 +1048,11 @@ module Google
|
|
1048
1048
|
# @return [String]
|
1049
1049
|
attr_accessor :environment
|
1050
1050
|
|
1051
|
+
# Defines policies applying to the API methods of the service.
|
1052
|
+
# Corresponds to the JSON property `methodPolicies`
|
1053
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MethodPolicy>]
|
1054
|
+
attr_accessor :method_policies
|
1055
|
+
|
1051
1056
|
def initialize(**args)
|
1052
1057
|
update!(**args)
|
1053
1058
|
end
|
@@ -1055,6 +1060,7 @@ module Google
|
|
1055
1060
|
# Update properties of this object
|
1056
1061
|
def update!(**args)
|
1057
1062
|
@environment = args[:environment] if args.key?(:environment)
|
1063
|
+
@method_policies = args[:method_policies] if args.key?(:method_policies)
|
1058
1064
|
end
|
1059
1065
|
end
|
1060
1066
|
|
@@ -1752,6 +1758,50 @@ module Google
|
|
1752
1758
|
end
|
1753
1759
|
end
|
1754
1760
|
|
1761
|
+
# Google API Policy Annotation This message defines a simple API policy
|
1762
|
+
# annotation that can be used to annotate API request and response message
|
1763
|
+
# fields with applicable policies. One field may have multiple applicable
|
1764
|
+
# policies that must all be satisfied before a request can be processed. This
|
1765
|
+
# policy annotation is used to generate the overall policy that will be used for
|
1766
|
+
# automatic runtime policy enforcement and documentation generation.
|
1767
|
+
class FieldPolicy
|
1768
|
+
include Google::Apis::Core::Hashable
|
1769
|
+
|
1770
|
+
# Specifies the required permission(s) for the resource referred to by the field.
|
1771
|
+
# It requires the field contains a valid resource reference, and the request
|
1772
|
+
# must pass the permission checks to proceed. For example, "resourcemanager.
|
1773
|
+
# projects.get".
|
1774
|
+
# Corresponds to the JSON property `resourcePermission`
|
1775
|
+
# @return [String]
|
1776
|
+
attr_accessor :resource_permission
|
1777
|
+
|
1778
|
+
# Specifies the resource type for the resource referred to by the field.
|
1779
|
+
# Corresponds to the JSON property `resourceType`
|
1780
|
+
# @return [String]
|
1781
|
+
attr_accessor :resource_type
|
1782
|
+
|
1783
|
+
# Selects one or more request or response message fields to apply this `
|
1784
|
+
# FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
|
1785
|
+
# must be left as empty. The service config generator will automatically fill
|
1786
|
+
# the correct value. When a `FieldPolicy` is used in service config, the
|
1787
|
+
# selector must be a comma-separated string with valid request or response field
|
1788
|
+
# paths, such as "foo.bar" or "foo.bar,foo.baz".
|
1789
|
+
# Corresponds to the JSON property `selector`
|
1790
|
+
# @return [String]
|
1791
|
+
attr_accessor :selector
|
1792
|
+
|
1793
|
+
def initialize(**args)
|
1794
|
+
update!(**args)
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
# Update properties of this object
|
1798
|
+
def update!(**args)
|
1799
|
+
@resource_permission = args[:resource_permission] if args.key?(:resource_permission)
|
1800
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1801
|
+
@selector = args[:selector] if args.key?(:selector)
|
1802
|
+
end
|
1803
|
+
end
|
1804
|
+
|
1755
1805
|
# Metadata for the `GetServiceIdentity` method.
|
1756
1806
|
class GetServiceIdentityMetadata
|
1757
1807
|
include Google::Apis::Core::Hashable
|
@@ -3274,6 +3324,34 @@ module Google
|
|
3274
3324
|
end
|
3275
3325
|
end
|
3276
3326
|
|
3327
|
+
# Defines policies applying to an RPC method.
|
3328
|
+
class MethodPolicy
|
3329
|
+
include Google::Apis::Core::Hashable
|
3330
|
+
|
3331
|
+
# Policies that are applicable to the request message.
|
3332
|
+
# Corresponds to the JSON property `requestPolicies`
|
3333
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::FieldPolicy>]
|
3334
|
+
attr_accessor :request_policies
|
3335
|
+
|
3336
|
+
# Selects a method to which these policies should be enforced, for example, "
|
3337
|
+
# google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
|
3338
|
+
# details. NOTE: This field must not be set in the proto annotation. It will be
|
3339
|
+
# automatically filled by the service config compiler .
|
3340
|
+
# Corresponds to the JSON property `selector`
|
3341
|
+
# @return [String]
|
3342
|
+
attr_accessor :selector
|
3343
|
+
|
3344
|
+
def initialize(**args)
|
3345
|
+
update!(**args)
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
# Update properties of this object
|
3349
|
+
def update!(**args)
|
3350
|
+
@request_policies = args[:request_policies] if args.key?(:request_policies)
|
3351
|
+
@selector = args[:selector] if args.key?(:selector)
|
3352
|
+
end
|
3353
|
+
end
|
3354
|
+
|
3277
3355
|
# Describes the generator configuration for a method.
|
3278
3356
|
class MethodSettings
|
3279
3357
|
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.43.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
|
|
@@ -478,6 +484,12 @@ module Google
|
|
478
484
|
include Google::Apis::Core::JsonObjectSupport
|
479
485
|
end
|
480
486
|
|
487
|
+
class MethodPolicy
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
481
493
|
class MethodSettings
|
482
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
495
|
|
@@ -974,6 +986,8 @@ module Google
|
|
974
986
|
# @private
|
975
987
|
class Representation < Google::Apis::Core::JsonRepresentation
|
976
988
|
property :environment, as: 'environment'
|
989
|
+
collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServiceusageV1beta1::MethodPolicy, decorator: Google::Apis::ServiceusageV1beta1::MethodPolicy::Representation
|
990
|
+
|
977
991
|
end
|
978
992
|
end
|
979
993
|
|
@@ -1165,6 +1179,15 @@ module Google
|
|
1165
1179
|
end
|
1166
1180
|
end
|
1167
1181
|
|
1182
|
+
class FieldPolicy
|
1183
|
+
# @private
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1185
|
+
property :resource_permission, as: 'resourcePermission'
|
1186
|
+
property :resource_type, as: 'resourceType'
|
1187
|
+
property :selector, as: 'selector'
|
1188
|
+
end
|
1189
|
+
end
|
1190
|
+
|
1168
1191
|
class GetServiceIdentityMetadata
|
1169
1192
|
# @private
|
1170
1193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1520,6 +1543,15 @@ module Google
|
|
1520
1543
|
end
|
1521
1544
|
end
|
1522
1545
|
|
1546
|
+
class MethodPolicy
|
1547
|
+
# @private
|
1548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1549
|
+
collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServiceusageV1beta1::FieldPolicy, decorator: Google::Apis::ServiceusageV1beta1::FieldPolicy::Representation
|
1550
|
+
|
1551
|
+
property :selector, as: 'selector'
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
|
1523
1555
|
class MethodSettings
|
1524
1556
|
# @private
|
1525
1557
|
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.43.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-07-
|
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_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.43.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: []
|