google-apis-policytroubleshooter_v1 0.12.0 → 0.15.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: 05f6f4a269767bf357bad360416321e11d1aa697652a12c504a444624d8923cd
4
- data.tar.gz: fc9a143ecbdfd3dbfb2eeca2875126612dfc229f809145ce1991f7f2a6e33f41
3
+ metadata.gz: d56f964ca427845e77c6d33ccca89be294e06a6c1b3d16c6c5e8ba0ed94ca33a
4
+ data.tar.gz: 30f17208989e3849a72404bdf1825f42845c1f2a2664722009012e410e28e15f
5
5
  SHA512:
6
- metadata.gz: 3ff26e840016ed657fb09b1f8c01660a3a63705c6fd2e49071d49a8307ca389632b7bcbb44fa437d0a9d94f42ff32cb94abbc346aa2470f1bc3dd20544d42e93
7
- data.tar.gz: 73db9d4a79705b0c6625ae4e5e245b8f008648f131d8558023c3cb959e9efdff6a06b38b61ada0c1286a9209ae31f3d77ba0d4979d2c67cc13f91ec1cf38a00b
6
+ metadata.gz: 39b06f4b270edd9e57444c8586fe55b85348daeae7225e03ea61022e612ce39f6acacd46411f7e500484dfc0d9b095354e08d214fe91bccc35957fb401a1b5a1
7
+ data.tar.gz: c3b8a5aef98d6a1d78c96e6f86bf5893383a8a91326ba95fb50cbe54aa49a2dbf9e1324af672e794d88ab708c8fef14f72f3bfb04a56c8b0e0d7e872d67c8778
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-policytroubleshooter_v1
2
2
 
3
+ ### v0.15.0 (2022-06-07)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.14.0 (2022-05-03)
8
+
9
+ * Regenerated from discovery document revision 20220429
10
+
11
+ ### v0.13.0 (2022-04-19)
12
+
13
+ * Regenerated from discovery document revision 20220415
14
+
3
15
  ### v0.12.0 (2022-04-05)
4
16
 
5
17
  * 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
@@ -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
 
@@ -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.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220402"
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.12.0
4
+ version: 0.15.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-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.15.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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Policy Troubleshooter API V1