google-apis-policytroubleshooter_v1 0.12.0 → 0.13.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: 05f6f4a269767bf357bad360416321e11d1aa697652a12c504a444624d8923cd
4
- data.tar.gz: fc9a143ecbdfd3dbfb2eeca2875126612dfc229f809145ce1991f7f2a6e33f41
3
+ metadata.gz: 05ed2fa2176e2180e224373ea1c6e3444986aaad23bcd40a564df0472f19103f
4
+ data.tar.gz: a1f4d21852a7c7999c78af122f80f19bd58ac86b171bd18f50c5cdc485c25c75
5
5
  SHA512:
6
- metadata.gz: 3ff26e840016ed657fb09b1f8c01660a3a63705c6fd2e49071d49a8307ca389632b7bcbb44fa437d0a9d94f42ff32cb94abbc346aa2470f1bc3dd20544d42e93
7
- data.tar.gz: 73db9d4a79705b0c6625ae4e5e245b8f008648f131d8558023c3cb959e9efdff6a06b38b61ada0c1286a9209ae31f3d77ba0d4979d2c67cc13f91ec1cf38a00b
6
+ metadata.gz: 1f92634c5924a4da248d6a2bda72fe8e507e4d842260072d92c53772996722dae375d73dbd694ae4391f54163ac46498a74ac81094ede9ddc8ce8fe91e54d214
7
+ data.tar.gz: 8655824be7630eac7156885d62cfdb8a2505b7c5f050565089fefac56e0ebbe15de451b626bf13e563cfe4fc8828fd3604ea9770e9a729f6e224e3c50dca8c93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-policytroubleshooter_v1
2
2
 
3
+ ### v0.13.0 (2022-04-19)
4
+
5
+ * Regenerated from discovery document revision 20220415
6
+
3
7
  ### v0.12.0 (2022-04-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220402
@@ -291,6 +291,11 @@ module Google
291
291
  # @return [String]
292
292
  attr_accessor :access
293
293
 
294
+ # The general errors contained in the troubleshooting response.
295
+ # Corresponds to the JSON property `errors`
296
+ # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleRpcStatus>]
297
+ attr_accessor :errors
298
+
294
299
  # List of IAM policies that were evaluated to check the principal's permissions,
295
300
  # with annotations to indicate how each policy contributed to the final result.
296
301
  # The list of policies can include the policy for the resource itself. It can
@@ -309,6 +314,7 @@ module Google
309
314
  # Update properties of this object
310
315
  def update!(**args)
311
316
  @access = args[:access] if args.key?(:access)
317
+ @errors = args[:errors] if args.key?(:errors)
312
318
  @explained_policies = args[:explained_policies] if args.key?(:explained_policies)
313
319
  end
314
320
  end
@@ -550,6 +556,45 @@ module Google
550
556
  end
551
557
  end
552
558
 
559
+ # The `Status` type defines a logical error model that is suitable for different
560
+ # programming environments, including REST APIs and RPC APIs. It is used by [
561
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
562
+ # data: error code, error message, and error details. You can find out more
563
+ # about this error model and how to work with it in the [API Design Guide](https:
564
+ # //cloud.google.com/apis/design/errors).
565
+ class GoogleRpcStatus
566
+ include Google::Apis::Core::Hashable
567
+
568
+ # The status code, which should be an enum value of google.rpc.Code.
569
+ # Corresponds to the JSON property `code`
570
+ # @return [Fixnum]
571
+ attr_accessor :code
572
+
573
+ # A list of messages that carry the error details. There is a common set of
574
+ # message types for APIs to use.
575
+ # Corresponds to the JSON property `details`
576
+ # @return [Array<Hash<String,Object>>]
577
+ attr_accessor :details
578
+
579
+ # A developer-facing error message, which should be in English. Any user-facing
580
+ # error message should be localized and sent in the google.rpc.Status.details
581
+ # field, or localized by the client.
582
+ # Corresponds to the JSON property `message`
583
+ # @return [String]
584
+ attr_accessor :message
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @code = args[:code] if args.key?(:code)
593
+ @details = args[:details] if args.key?(:details)
594
+ @message = args[:message] if args.key?(:message)
595
+ end
596
+ end
597
+
553
598
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
554
599
  # CEL is a C-like expression language. The syntax and semantics of CEL are
555
600
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PolicytroubleshooterV1
18
18
  # Version of the google-apis-policytroubleshooter_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220402"
25
+ REVISION = "20220415"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleRpcStatus
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleTypeExpr
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -145,6 +151,8 @@ module Google
145
151
  # @private
146
152
  class Representation < Google::Apis::Core::JsonRepresentation
147
153
  property :access, as: 'access'
154
+ collection :errors, as: 'errors', class: Google::Apis::PolicytroubleshooterV1::GoogleRpcStatus, decorator: Google::Apis::PolicytroubleshooterV1::GoogleRpcStatus::Representation
155
+
148
156
  collection :explained_policies, as: 'explainedPolicies', class: Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1ExplainedPolicy, decorator: Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1ExplainedPolicy::Representation
149
157
 
150
158
  end
@@ -189,6 +197,15 @@ module Google
189
197
  end
190
198
  end
191
199
 
200
+ class GoogleRpcStatus
201
+ # @private
202
+ class Representation < Google::Apis::Core::JsonRepresentation
203
+ property :code, as: 'code'
204
+ collection :details, as: 'details'
205
+ property :message, as: 'message'
206
+ end
207
+ end
208
+
192
209
  class GoogleTypeExpr
193
210
  # @private
194
211
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policytroubleshooter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-25 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-policytroubleshooter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policytroubleshooter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []