google-apis-servicenetworking_v1beta 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: 3a897bed6b0ed1da188157638843f5d48d4bd3da1fa308d7bd9ee33c80f88eda
4
- data.tar.gz: 559ccfc2284587aa9fb51f0b2a2be350499f066fcdecd843caa7e2387098b4ac
3
+ metadata.gz: '0396c89dc859b908c8793caf0ac6c9eefb2579a82d337c02e16ace05dfe852f2'
4
+ data.tar.gz: f70dab0984c1f2384c088cf9cc95fea57e721c24226247f659c9bea7c524e808
5
5
  SHA512:
6
- metadata.gz: 77bec6db81b51aea8cefb41c55c3544317bb454d3a90880aa69dbe3086707bf356f7dabebef8037a9d1b72ed1bb75350a42ed2f30c34d58a6328447ba9d00ee3
7
- data.tar.gz: 52b1ac5425d5bdcd2ecfb874a0e530db1784c8d1182558fd1442a8ae65c0b27090e11223bfd1a2b2cc49ccb484dd3e1591507cc78129ed9c12c919fa4cbe4848
6
+ metadata.gz: '005858d0978df9d722cd6e9c453981ee62e64afc72026e5fe5fa1abd4f1ccc3559c0fd6ae2122cd77377e020b3e064b4259a88b836b986ca70cdee0e5439f180'
7
+ data.tar.gz: c2cc8b073e397477ebab424d91ddfd6cedadb011da0a6f639f71be1f97d747aff314ca37017056bb5733c668816a4b87281aa545f59053bbcb4a1ed7fa05da92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-servicenetworking_v1beta
2
2
 
3
+ ### v0.41.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230719
6
+
7
+ ### v0.40.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230626
10
+
3
11
  ### v0.39.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230611
@@ -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
@@ -3124,7 +3202,10 @@ module Google
3124
3202
  # Required. Role to apply. Only allowlisted roles can be used at the specified
3125
3203
  # granularity. The role must be one of the following: - 'roles/container.
3126
3204
  # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
3127
- # securityAdmin' applied on the shared VPC host project
3205
+ # securityAdmin' applied on the shared VPC host project - 'roles/compute.
3206
+ # networkAdmin' applied on the shared VPC host project - 'roles/compute.xpnAdmin'
3207
+ # applied on the shared VPC host project - 'roles/dns.admin' applied on the
3208
+ # shared VPC host project
3128
3209
  # Corresponds to the JSON property `role`
3129
3210
  # @return [String]
3130
3211
  attr_accessor :role
@@ -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.39.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 = "20230611"
25
+ REVISION = "20230719"
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.39.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-06-18 00:00:00.000000000 Z
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-servicenetworking_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.41.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: []