google-apis-serviceconsumermanagement_v1 0.36.0 → 0.38.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: 8833bd7199608af7d0534bddf8536dd08cf109a6c30de81f8543347073d6075f
|
4
|
+
data.tar.gz: a9162e5b6df00a7f6c8f1daf1d5a40e8a51d766686a7e58ed3295c598a8f5723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cfd83e033f6b602cc656b7d9f7ca30588255261e946131d4c6fb903738e7d383eab96973b6f2bf534a1cc896745d20fcc111d022c25452f49df721effa668e2
|
7
|
+
data.tar.gz: dffc8e25659b184ea7276937eaeefab7e90577b7bcc9715021d1a44c1c15aa6e659f2c731c0ccf107c7e811c9c6492d6098ec1c0e59d3291295e7fbe6b8c5fff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceconsumermanagement_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230719
|
6
|
+
|
7
|
+
### v0.37.0 (2023-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230611
|
10
|
+
|
3
11
|
### v0.36.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230426
|
@@ -802,6 +802,11 @@ module Google
|
|
802
802
|
# @return [String]
|
803
803
|
attr_accessor :environment
|
804
804
|
|
805
|
+
# Defines policies applying to the API methods of the service.
|
806
|
+
# Corresponds to the JSON property `methodPolicies`
|
807
|
+
# @return [Array<Google::Apis::ServiceconsumermanagementV1::MethodPolicy>]
|
808
|
+
attr_accessor :method_policies
|
809
|
+
|
805
810
|
def initialize(**args)
|
806
811
|
update!(**args)
|
807
812
|
end
|
@@ -809,6 +814,7 @@ module Google
|
|
809
814
|
# Update properties of this object
|
810
815
|
def update!(**args)
|
811
816
|
@environment = args[:environment] if args.key?(:environment)
|
817
|
+
@method_policies = args[:method_policies] if args.key?(:method_policies)
|
812
818
|
end
|
813
819
|
end
|
814
820
|
|
@@ -961,7 +967,7 @@ module Google
|
|
961
967
|
# documentation: summary: > The Google Calendar API gives access to most
|
962
968
|
# calendar features. pages: - name: Overview content: (== include google/foo/
|
963
969
|
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
964
|
-
# ) subpages
|
970
|
+
# ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
|
965
971
|
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
966
972
|
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
967
973
|
# markdown syntax. In addition to standard markdown features, definition lists,
|
@@ -1011,6 +1017,13 @@ module Google
|
|
1011
1017
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::DocumentationRule>]
|
1012
1018
|
attr_accessor :rules
|
1013
1019
|
|
1020
|
+
# Specifies section and content to override boilerplate content provided by go/
|
1021
|
+
# api-docgen. Currently overrides following sections: 1. rest.service.
|
1022
|
+
# client_libraries
|
1023
|
+
# Corresponds to the JSON property `sectionOverrides`
|
1024
|
+
# @return [Array<Google::Apis::ServiceconsumermanagementV1::Page>]
|
1025
|
+
attr_accessor :section_overrides
|
1026
|
+
|
1014
1027
|
# Specifies the service root url if the default one (the service name from the
|
1015
1028
|
# yaml file) is not suitable. This can be seen in any fully specified service
|
1016
1029
|
# urls as well as sections that show a base that other urls are relative to.
|
@@ -1035,6 +1048,7 @@ module Google
|
|
1035
1048
|
@overview = args[:overview] if args.key?(:overview)
|
1036
1049
|
@pages = args[:pages] if args.key?(:pages)
|
1037
1050
|
@rules = args[:rules] if args.key?(:rules)
|
1051
|
+
@section_overrides = args[:section_overrides] if args.key?(:section_overrides)
|
1038
1052
|
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
|
1039
1053
|
@summary = args[:summary] if args.key?(:summary)
|
1040
1054
|
end
|
@@ -1378,6 +1392,50 @@ module Google
|
|
1378
1392
|
end
|
1379
1393
|
end
|
1380
1394
|
|
1395
|
+
# Google API Policy Annotation This message defines a simple API policy
|
1396
|
+
# annotation that can be used to annotate API request and response message
|
1397
|
+
# fields with applicable policies. One field may have multiple applicable
|
1398
|
+
# policies that must all be satisfied before a request can be processed. This
|
1399
|
+
# policy annotation is used to generate the overall policy that will be used for
|
1400
|
+
# automatic runtime policy enforcement and documentation generation.
|
1401
|
+
class FieldPolicy
|
1402
|
+
include Google::Apis::Core::Hashable
|
1403
|
+
|
1404
|
+
# Specifies the required permission(s) for the resource referred to by the field.
|
1405
|
+
# It requires the field contains a valid resource reference, and the request
|
1406
|
+
# must pass the permission checks to proceed. For example, "resourcemanager.
|
1407
|
+
# projects.get".
|
1408
|
+
# Corresponds to the JSON property `resourcePermission`
|
1409
|
+
# @return [String]
|
1410
|
+
attr_accessor :resource_permission
|
1411
|
+
|
1412
|
+
# Specifies the resource type for the resource referred to by the field.
|
1413
|
+
# Corresponds to the JSON property `resourceType`
|
1414
|
+
# @return [String]
|
1415
|
+
attr_accessor :resource_type
|
1416
|
+
|
1417
|
+
# Selects one or more request or response message fields to apply this `
|
1418
|
+
# FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
|
1419
|
+
# must be left as empty. The service config generator will automatically fill
|
1420
|
+
# the correct value. When a `FieldPolicy` is used in service config, the
|
1421
|
+
# selector must be a comma-separated string with valid request or response field
|
1422
|
+
# paths, such as "foo.bar" or "foo.bar,foo.baz".
|
1423
|
+
# Corresponds to the JSON property `selector`
|
1424
|
+
# @return [String]
|
1425
|
+
attr_accessor :selector
|
1426
|
+
|
1427
|
+
def initialize(**args)
|
1428
|
+
update!(**args)
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
# Update properties of this object
|
1432
|
+
def update!(**args)
|
1433
|
+
@resource_permission = args[:resource_permission] if args.key?(:resource_permission)
|
1434
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1435
|
+
@selector = args[:selector] if args.key?(:selector)
|
1436
|
+
end
|
1437
|
+
end
|
1438
|
+
|
1381
1439
|
# Settings for Go client libraries.
|
1382
1440
|
class GoSettings
|
1383
1441
|
include Google::Apis::Core::Hashable
|
@@ -2018,6 +2076,34 @@ module Google
|
|
2018
2076
|
end
|
2019
2077
|
end
|
2020
2078
|
|
2079
|
+
# Defines policies applying to an RPC method.
|
2080
|
+
class MethodPolicy
|
2081
|
+
include Google::Apis::Core::Hashable
|
2082
|
+
|
2083
|
+
# Policies that are applicable to the request message.
|
2084
|
+
# Corresponds to the JSON property `requestPolicies`
|
2085
|
+
# @return [Array<Google::Apis::ServiceconsumermanagementV1::FieldPolicy>]
|
2086
|
+
attr_accessor :request_policies
|
2087
|
+
|
2088
|
+
# Selects a method to which these policies should be enforced, for example, "
|
2089
|
+
# google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
|
2090
|
+
# details. NOTE: This field must not be set in the proto annotation. It will be
|
2091
|
+
# automatically filled by the service config compiler .
|
2092
|
+
# Corresponds to the JSON property `selector`
|
2093
|
+
# @return [String]
|
2094
|
+
attr_accessor :selector
|
2095
|
+
|
2096
|
+
def initialize(**args)
|
2097
|
+
update!(**args)
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
# Update properties of this object
|
2101
|
+
def update!(**args)
|
2102
|
+
@request_policies = args[:request_policies] if args.key?(:request_policies)
|
2103
|
+
@selector = args[:selector] if args.key?(:selector)
|
2104
|
+
end
|
2105
|
+
end
|
2106
|
+
|
2021
2107
|
# Describes the generator configuration for a method.
|
2022
2108
|
class MethodSettings
|
2023
2109
|
include Google::Apis::Core::Hashable
|
@@ -3117,7 +3203,7 @@ module Google
|
|
3117
3203
|
# documentation: summary: > The Google Calendar API gives access to most
|
3118
3204
|
# calendar features. pages: - name: Overview content: (== include google/foo/
|
3119
3205
|
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
3120
|
-
# ) subpages
|
3206
|
+
# ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
|
3121
3207
|
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
3122
3208
|
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
3123
3209
|
# markdown syntax. In addition to standard markdown features, definition lists,
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceconsumermanagementV1
|
18
18
|
# Version of the google-apis-serviceconsumermanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.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
|
@@ -220,6 +220,12 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class FieldPolicy
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
223
229
|
class GoSettings
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
@@ -298,6 +304,12 @@ module Google
|
|
298
304
|
include Google::Apis::Core::JsonObjectSupport
|
299
305
|
end
|
300
306
|
|
307
|
+
class MethodPolicy
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class MethodSettings
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -837,6 +849,8 @@ module Google
|
|
837
849
|
# @private
|
838
850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
839
851
|
property :environment, as: 'environment'
|
852
|
+
collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServiceconsumermanagementV1::MethodPolicy, decorator: Google::Apis::ServiceconsumermanagementV1::MethodPolicy::Representation
|
853
|
+
|
840
854
|
end
|
841
855
|
end
|
842
856
|
|
@@ -896,6 +910,8 @@ module Google
|
|
896
910
|
|
897
911
|
collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1::DocumentationRule, decorator: Google::Apis::ServiceconsumermanagementV1::DocumentationRule::Representation
|
898
912
|
|
913
|
+
collection :section_overrides, as: 'sectionOverrides', class: Google::Apis::ServiceconsumermanagementV1::Page, decorator: Google::Apis::ServiceconsumermanagementV1::Page::Representation
|
914
|
+
|
899
915
|
property :service_root_url, as: 'serviceRootUrl'
|
900
916
|
property :summary, as: 'summary'
|
901
917
|
end
|
@@ -982,6 +998,15 @@ module Google
|
|
982
998
|
end
|
983
999
|
end
|
984
1000
|
|
1001
|
+
class FieldPolicy
|
1002
|
+
# @private
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1004
|
+
property :resource_permission, as: 'resourcePermission'
|
1005
|
+
property :resource_type, as: 'resourceType'
|
1006
|
+
property :selector, as: 'selector'
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
|
985
1010
|
class GoSettings
|
986
1011
|
# @private
|
987
1012
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1117,6 +1142,15 @@ module Google
|
|
1117
1142
|
end
|
1118
1143
|
end
|
1119
1144
|
|
1145
|
+
class MethodPolicy
|
1146
|
+
# @private
|
1147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1148
|
+
collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServiceconsumermanagementV1::FieldPolicy, decorator: Google::Apis::ServiceconsumermanagementV1::FieldPolicy::Representation
|
1149
|
+
|
1150
|
+
property :selector, as: 'selector'
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1120
1154
|
class MethodSettings
|
1121
1155
|
# @private
|
1122
1156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceconsumermanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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-serviceconsumermanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|