google-apis-policytroubleshooter_v1 0.11.0 → 0.14.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: fc52d3104599c6dfe0209c492d9a9f027989316f3e266991645df5841ba4c32c
4
- data.tar.gz: 5d420f5c4fa2980b5fab0d96a03b1e713fe01f0c036d2ec1acbf8835724f6281
3
+ metadata.gz: ddd498d25949c19ba2ebcf4c90085c53dbb74053aabde4fbb97b141591e9fc29
4
+ data.tar.gz: 5f006d2bbfddb5f44fca74b25befa14c3084afd1ecde059b097cc7374e9bb1bc
5
5
  SHA512:
6
- metadata.gz: a1d9d3bf243e96d437a6c7850237794e9a6f68e2e8fd0d71a5583715c8760ae2830e7bda6b664dcf4bae21efa87255cdad6ea293064221226d7bf4cb17ef30ca
7
- data.tar.gz: 0362a984fc27590aec4426456e74cef8674cffa9c319c1238f7f47915dc407c323b69b29eb2acc01ffa05870a76d58f2a6b3f02f6f1e9aa06b94e3d5e1acd9b6
6
+ metadata.gz: 95f11a23f93a17f82c08dc2b3d04b31e7c5b6bf641f607938502994c40f0e0f506b7a9e044d1da5d5a8fbd621be14d3dc9f39fd82e6f6f78021307c33a47d90b
7
+ data.tar.gz: 422a0a423424bd34671f7019fbd7450dbdb2efc879ecb23ae7bc67e0374c7ecf9de85d2d58aa69a77ec884461f3a45003ed310753cf07e4fada9eb5060f5f66d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-policytroubleshooter_v1
2
2
 
3
+ ### v0.14.0 (2022-05-03)
4
+
5
+ * Regenerated from discovery document revision 20220429
6
+
7
+ ### v0.13.0 (2022-04-19)
8
+
9
+ * Regenerated from discovery document revision 20220415
10
+
11
+ ### v0.12.0 (2022-04-05)
12
+
13
+ * Regenerated from discovery document revision 20220402
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.11.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -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
@@ -326,8 +332,8 @@ module Google
326
332
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
327
333
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
328
334
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
329
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
330
- # DATA_WRITE logging.
335
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
336
+ # from DATA_WRITE logging.
331
337
  class GoogleIamV1AuditConfig
332
338
  include Google::Apis::Core::Hashable
333
339
 
@@ -407,7 +413,7 @@ module Google
407
413
  # @return [Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr]
408
414
  attr_accessor :condition
409
415
 
410
- # Specifies the principals requesting access for a Cloud Platform resource. `
416
+ # Specifies the principals requesting access for a Google Cloud resource. `
411
417
  # members` can have the following values: * `allUsers`: A special identifier
412
418
  # that represents anyone who is on the internet; with or without a Google
413
419
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211008"
25
+ REVISION = "20220429"
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.11.0
4
+ version: 0.14.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-05-09 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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.14.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Policy Troubleshooter API V1