google-apis-servicenetworking_v1beta 0.40.0 → 0.42.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: 41bf54e2406f1fd9fded7e6a1567d0f9b6c55668f72119b5871cab698cde9543
|
4
|
+
data.tar.gz: 27403e711516135a37692df1af237df44bb80a665fad6d22e88cbba84044deb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2c473702ea0f5f174ab22a8486968fed79bbd6127c71ae2d0b703db6c134775ae728da74da45bba84f962b382cc4069b424681bb3067a562b7912540f818d08
|
7
|
+
data.tar.gz: 5355ddd0b42aa746e1d0552d1f838b10f4fbf7f45c41ddb6e2e924218d91d0c35cb9f389148affdfbb0da7c60647a32d10bd2dcfb36f4e75c90cf9a9151c8a6c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1beta
|
2
2
|
|
3
|
+
### v0.42.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230802
|
6
|
+
|
7
|
+
### v0.41.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230719
|
10
|
+
|
3
11
|
### v0.40.0 (2023-07-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230626
|
@@ -1049,6 +1049,11 @@ module Google
|
|
1049
1049
|
# @return [String]
|
1050
1050
|
attr_accessor :environment
|
1051
1051
|
|
1052
|
+
# Defines policies applying to the API methods of the service.
|
1053
|
+
# Corresponds to the JSON property `methodPolicies`
|
1054
|
+
# @return [Array<Google::Apis::ServicenetworkingV1beta::MethodPolicy>]
|
1055
|
+
attr_accessor :method_policies
|
1056
|
+
|
1052
1057
|
def initialize(**args)
|
1053
1058
|
update!(**args)
|
1054
1059
|
end
|
@@ -1056,6 +1061,7 @@ module Google
|
|
1056
1061
|
# Update properties of this object
|
1057
1062
|
def update!(**args)
|
1058
1063
|
@environment = args[:environment] if args.key?(:environment)
|
1064
|
+
@method_policies = args[:method_policies] if args.key?(:method_policies)
|
1059
1065
|
end
|
1060
1066
|
end
|
1061
1067
|
|
@@ -1669,6 +1675,50 @@ module Google
|
|
1669
1675
|
end
|
1670
1676
|
end
|
1671
1677
|
|
1678
|
+
# Google API Policy Annotation This message defines a simple API policy
|
1679
|
+
# annotation that can be used to annotate API request and response message
|
1680
|
+
# fields with applicable policies. One field may have multiple applicable
|
1681
|
+
# policies that must all be satisfied before a request can be processed. This
|
1682
|
+
# policy annotation is used to generate the overall policy that will be used for
|
1683
|
+
# automatic runtime policy enforcement and documentation generation.
|
1684
|
+
class FieldPolicy
|
1685
|
+
include Google::Apis::Core::Hashable
|
1686
|
+
|
1687
|
+
# Specifies the required permission(s) for the resource referred to by the field.
|
1688
|
+
# It requires the field contains a valid resource reference, and the request
|
1689
|
+
# must pass the permission checks to proceed. For example, "resourcemanager.
|
1690
|
+
# projects.get".
|
1691
|
+
# Corresponds to the JSON property `resourcePermission`
|
1692
|
+
# @return [String]
|
1693
|
+
attr_accessor :resource_permission
|
1694
|
+
|
1695
|
+
# Specifies the resource type for the resource referred to by the field.
|
1696
|
+
# Corresponds to the JSON property `resourceType`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :resource_type
|
1699
|
+
|
1700
|
+
# Selects one or more request or response message fields to apply this `
|
1701
|
+
# FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
|
1702
|
+
# must be left as empty. The service config generator will automatically fill
|
1703
|
+
# the correct value. When a `FieldPolicy` is used in service config, the
|
1704
|
+
# selector must be a comma-separated string with valid request or response field
|
1705
|
+
# paths, such as "foo.bar" or "foo.bar,foo.baz".
|
1706
|
+
# Corresponds to the JSON property `selector`
|
1707
|
+
# @return [String]
|
1708
|
+
attr_accessor :selector
|
1709
|
+
|
1710
|
+
def initialize(**args)
|
1711
|
+
update!(**args)
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
# Update properties of this object
|
1715
|
+
def update!(**args)
|
1716
|
+
@resource_permission = args[:resource_permission] if args.key?(:resource_permission)
|
1717
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1718
|
+
@selector = args[:selector] if args.key?(:selector)
|
1719
|
+
end
|
1720
|
+
end
|
1721
|
+
|
1672
1722
|
# Settings for Go client libraries.
|
1673
1723
|
class GoSettings
|
1674
1724
|
include Google::Apis::Core::Hashable
|
@@ -2401,6 +2451,34 @@ module Google
|
|
2401
2451
|
end
|
2402
2452
|
end
|
2403
2453
|
|
2454
|
+
# Defines policies applying to an RPC method.
|
2455
|
+
class MethodPolicy
|
2456
|
+
include Google::Apis::Core::Hashable
|
2457
|
+
|
2458
|
+
# Policies that are applicable to the request message.
|
2459
|
+
# Corresponds to the JSON property `requestPolicies`
|
2460
|
+
# @return [Array<Google::Apis::ServicenetworkingV1beta::FieldPolicy>]
|
2461
|
+
attr_accessor :request_policies
|
2462
|
+
|
2463
|
+
# Selects a method to which these policies should be enforced, for example, "
|
2464
|
+
# google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
|
2465
|
+
# details. NOTE: This field must not be set in the proto annotation. It will be
|
2466
|
+
# automatically filled by the service config compiler .
|
2467
|
+
# Corresponds to the JSON property `selector`
|
2468
|
+
# @return [String]
|
2469
|
+
attr_accessor :selector
|
2470
|
+
|
2471
|
+
def initialize(**args)
|
2472
|
+
update!(**args)
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
# Update properties of this object
|
2476
|
+
def update!(**args)
|
2477
|
+
@request_policies = args[:request_policies] if args.key?(:request_policies)
|
2478
|
+
@selector = args[:selector] if args.key?(:selector)
|
2479
|
+
end
|
2480
|
+
end
|
2481
|
+
|
2404
2482
|
# Describes the generator configuration for a method.
|
2405
2483
|
class MethodSettings
|
2406
2484
|
include Google::Apis::Core::Hashable
|
@@ -2936,13 +3014,13 @@ module Google
|
|
2936
3014
|
# @return [String]
|
2937
3015
|
attr_accessor :name
|
2938
3016
|
|
2939
|
-
# The normal response of the operation
|
2940
|
-
#
|
2941
|
-
#
|
2942
|
-
#
|
2943
|
-
#
|
2944
|
-
#
|
2945
|
-
#
|
3017
|
+
# The normal, successful response of the operation. If the original method
|
3018
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
3019
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
3020
|
+
# response should be the resource. For other methods, the response should have
|
3021
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
3022
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
3023
|
+
# `TakeSnapshotResponse`.
|
2946
3024
|
# Corresponds to the JSON property `response`
|
2947
3025
|
# @return [Hash<String,Object>]
|
2948
3026
|
attr_accessor :response
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicenetworkingV1beta
|
18
18
|
# Version of the google-apis-servicenetworking_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.42.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 = "20230802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,6 +256,12 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class FieldPolicy
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class GoSettings
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
@@ -346,6 +352,12 @@ module Google
|
|
346
352
|
include Google::Apis::Core::JsonObjectSupport
|
347
353
|
end
|
348
354
|
|
355
|
+
class MethodPolicy
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
349
361
|
class MethodSettings
|
350
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
363
|
|
@@ -857,6 +869,8 @@ module Google
|
|
857
869
|
# @private
|
858
870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
859
871
|
property :environment, as: 'environment'
|
872
|
+
collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServicenetworkingV1beta::MethodPolicy, decorator: Google::Apis::ServicenetworkingV1beta::MethodPolicy::Representation
|
873
|
+
|
860
874
|
end
|
861
875
|
end
|
862
876
|
|
@@ -1014,6 +1028,15 @@ module Google
|
|
1014
1028
|
end
|
1015
1029
|
end
|
1016
1030
|
|
1031
|
+
class FieldPolicy
|
1032
|
+
# @private
|
1033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1034
|
+
property :resource_permission, as: 'resourcePermission'
|
1035
|
+
property :resource_type, as: 'resourceType'
|
1036
|
+
property :selector, as: 'selector'
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1017
1040
|
class GoSettings
|
1018
1041
|
# @private
|
1019
1042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1168,6 +1191,15 @@ module Google
|
|
1168
1191
|
end
|
1169
1192
|
end
|
1170
1193
|
|
1194
|
+
class MethodPolicy
|
1195
|
+
# @private
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1197
|
+
collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServicenetworkingV1beta::FieldPolicy, decorator: Google::Apis::ServicenetworkingV1beta::FieldPolicy::Representation
|
1198
|
+
|
1199
|
+
property :selector, as: 'selector'
|
1200
|
+
end
|
1201
|
+
end
|
1202
|
+
|
1171
1203
|
class MethodSettings
|
1172
1204
|
# @private
|
1173
1205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicenetworking_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.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-06 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-servicenetworking_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.42.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|