google-cloud-service_management-v1 0.7.0 → 0.8.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: a08a9ec44748e0931fbe563ce32b7e2913602249d44c16d674deef3faba8b5f1
4
- data.tar.gz: b0cabe2f3ef319c1cd90324f245e0f9eef125a62a16456fa2f441ca9b459c049
3
+ metadata.gz: da4704b32c66244172428530bf937444382a3c94c6e3df29c9b19fa1dfd6718c
4
+ data.tar.gz: ffb90b2730c16ef81a3fe4930034de3ffb18198e4b3e2f45e75c0bffef5b40b2
5
5
  SHA512:
6
- metadata.gz: ef5ea87d9edb1732473d522755778682e14e1fd4c8bc7c83e5ac48f4d0e25c8e23a86d44d7c5f140c7417547d15c0cb59cad3bca9f7d82203d4fb323af39382c
7
- data.tar.gz: 1e06d8fd90d182310b196a21aab8934346d75bbd7394212aa8e3a67e3be7f493a05be1dda1cddbac76603e8f4c470e82109deb94194ca6632344f7bab4707745
6
+ metadata.gz: cd55fd60ff7239ace278517b6b992cc5ed66d5827788c3d06335e599c4a418266b1f7d3e7130b6863dae3742bf92c8a9c78b085685ed716aa2e4396997174d04
7
+ data.tar.gz: 7ff730f3593c48f7a29c843c458ea538e4995cf7151e6ab172f7f3b3cfa1e59bd575259b124f689afd80c89ebd80c8f79821a5d699df7f81f82395723628c634
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceManagement
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -30,6 +30,9 @@ module Google
30
30
  # The service controller environment to use. If empty, no control plane
31
31
  # feature (like quota and billing) will be enabled. The recommended value for
32
32
  # most services is servicecontrol.googleapis.com
33
+ # @!attribute [rw] method_policies
34
+ # @return [::Array<::Google::Api::MethodPolicy>]
35
+ # Defines policies applying to the API methods of the service.
33
36
  class Control
34
37
  include ::Google::Protobuf::MessageExts
35
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Google API Policy Annotation
23
+ #
24
+ # This message defines a simple API policy annotation that can be used to
25
+ # annotate API request and response message fields with applicable policies.
26
+ # One field may have multiple applicable policies that must all be satisfied
27
+ # before a request can be processed. This policy annotation is used to
28
+ # generate the overall policy that will be used for automatic runtime
29
+ # policy enforcement and documentation generation.
30
+ # @!attribute [rw] selector
31
+ # @return [::String]
32
+ # Selects one or more request or response message fields to apply this
33
+ # `FieldPolicy`.
34
+ #
35
+ # When a `FieldPolicy` is used in proto annotation, the selector must
36
+ # be left as empty. The service config generator will automatically fill
37
+ # the correct value.
38
+ #
39
+ # When a `FieldPolicy` is used in service config, the selector must be a
40
+ # comma-separated string with valid request or response field paths,
41
+ # such as "foo.bar" or "foo.bar,foo.baz".
42
+ # @!attribute [rw] resource_permission
43
+ # @return [::String]
44
+ # Specifies the required permission(s) for the resource referred to by the
45
+ # field. It requires the field contains a valid resource reference, and
46
+ # the request must pass the permission checks to proceed. For example,
47
+ # "resourcemanager.projects.get".
48
+ # @!attribute [rw] resource_type
49
+ # @return [::String]
50
+ # Specifies the resource type for the resource referred to by the field.
51
+ class FieldPolicy
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # Defines policies applying to an RPC method.
57
+ # @!attribute [rw] selector
58
+ # @return [::String]
59
+ # Selects a method to which these policies should be enforced, for example,
60
+ # "google.pubsub.v1.Subscriber.CreateSubscription".
61
+ #
62
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
63
+ # details.
64
+ #
65
+ # NOTE: This field must not be set in the proto annotation. It will be
66
+ # automatically filled by the service config compiler .
67
+ # @!attribute [rw] request_policies
68
+ # @return [::Array<::Google::Api::FieldPolicy>]
69
+ # Policies that are applicable to the request message.
70
+ class MethodPolicy
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+ end
75
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-27 00:00:00.000000000 Z
11
+ date: 2023-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -224,6 +224,7 @@ files:
224
224
  - proto_docs/google/api/metric.rb
225
225
  - proto_docs/google/api/monitored_resource.rb
226
226
  - proto_docs/google/api/monitoring.rb
227
+ - proto_docs/google/api/policy.rb
227
228
  - proto_docs/google/api/quota.rb
228
229
  - proto_docs/google/api/resource.rb
229
230
  - proto_docs/google/api/service.rb