google-apis-policysimulator_v1beta1 0.9.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: 1961eb98afe829054350d7e03f186ca7cd774417c4a009894fc5b9b2274f647d
4
- data.tar.gz: 8e95d58e74f85224890d7a63be2669a087edb2ae1dc2a79545d2cb127162fa5c
3
+ metadata.gz: e720f180d9cc7344d842f1254a08db53aca70046b06bf58f3f5125340b25672b
4
+ data.tar.gz: a988b9bc43185a4ce76c4e450676e21b266eb44c2deadb6df65c8d1befff734a
5
5
  SHA512:
6
- metadata.gz: 32e9c84dadfbf2135a64ed05a2b055b9ce0de6a472d585d3f5aca92da0dd6d7329a4b575db8287dd713f031e2ea03d4411c26b6d63681d0d7e832781375d1293
7
- data.tar.gz: 7d39994a8e4fc323cfddb512feea1ec21f333a4d015a024319dbd43b53a9487dc3e7072545591fb5faa037308751b63431b71072d197b0bee74ecd2145136af7
6
+ metadata.gz: 2b4c07a36cbaa42f4c608d731b887b8a41b4b569ec9663cad1e763c7c1518b8d3cca5c26fd606d722212b6558b5ed5ac814ca5df8ddef57f02ebf2428aea909d
7
+ data.tar.gz: 1277f305906d8134155393e0cb78568cd13d10d7d42bafb73ddc6b761ae8cd5c42f35a500678878cebb113cdb568baf0971682eb5728dca13dc99c72d63da365
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-policysimulator_v1beta1
2
2
 
3
+ ### v0.13.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220128
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.12.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.11.0 (2021-10-20)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.10.0 (2021-10-14)
17
+
18
+ * Regenerated from discovery document revision 20211008
19
+
3
20
  ### v0.9.0 (2021-10-06)
4
21
 
5
22
  * Regenerated from discovery document revision 20211002
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/policysimulator_v1beta1"
51
51
  client = Google::Apis::PolicysimulatorV1beta1::PolicySimulatorService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Policysimulator service in particular.)
67
67
 
@@ -135,26 +135,12 @@ module Google
135
135
  # @return [Fixnum]
136
136
  attr_accessor :log_count
137
137
 
138
- # Represents a whole or partial calendar date, such as a birthday. The time of
139
- # day and time zone are either specified elsewhere or are insignificant. The
140
- # date is relative to the Gregorian Calendar. This can represent one of the
141
- # following: * A full date, with non-zero year, month, and day values * A month
142
- # and day value, with a zero year, such as an anniversary * A year on its own,
143
- # with zero month and day values * A year and month value, with a zero day, such
144
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
145
- # google.protobuf.Timestamp`.
138
+ # The date of the newest log entry replayed.
146
139
  # Corresponds to the JSON property `newestDate`
147
140
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate]
148
141
  attr_accessor :newest_date
149
142
 
150
- # Represents a whole or partial calendar date, such as a birthday. The time of
151
- # day and time zone are either specified elsewhere or are insignificant. The
152
- # date is relative to the Gregorian Calendar. This can represent one of the
153
- # following: * A full date, with non-zero year, month, and day values * A month
154
- # and day value, with a zero year, such as an anniversary * A year on its own,
155
- # with zero month and day values * A year and month value, with a zero day, such
156
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
157
- # google.protobuf.Timestamp`.
143
+ # The date of the oldest log entry replayed.
158
144
  # Corresponds to the JSON property `oldestDate`
159
145
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate]
160
146
  attr_accessor :oldest_date
@@ -444,31 +430,31 @@ module Google
444
430
 
445
431
  # An Identity and Access Management (IAM) policy, which specifies access
446
432
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
447
- # A `binding` binds one or more `members` to a single `role`. Members can be
448
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
449
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
450
- # role or a user-created custom role. For some types of Google Cloud resources,
451
- # a `binding` can also specify a `condition`, which is a logical expression that
452
- # allows access to a resource only if the expression evaluates to `true`. A
453
- # condition can add constraints based on attributes of the request, the resource,
454
- # or both. To learn which resources support conditions in their IAM policies,
455
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
456
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
457
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
458
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
459
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
460
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
461
- # title": "expirable access", "description": "Does not grant access after Sep
462
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
463
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
464
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
465
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
466
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
467
- # roles/resourcemanager.organizationViewer condition: title: expirable access
468
- # description: Does not grant access after Sep 2020 expression: request.time <
469
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
470
- # description of IAM and its features, see the [IAM documentation](https://cloud.
471
- # google.com/iam/docs/).
433
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
434
+ # Principals can be user accounts, service accounts, Google groups, and domains (
435
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
436
+ # an IAM predefined role or a user-created custom role. For some types of Google
437
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
438
+ # logical expression that allows access to a resource only if the expression
439
+ # evaluates to `true`. A condition can add constraints based on attributes of
440
+ # the request, the resource, or both. To learn which resources support
441
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
442
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
443
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
444
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
445
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
446
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
447
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
448
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
449
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
450
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
451
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
452
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
453
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
454
+ # access description: Does not grant access after Sep 2020 expression: request.
455
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
456
+ # a description of IAM and its features, see the [IAM documentation](https://
457
+ # cloud.google.com/iam/docs/).
472
458
  # Corresponds to the JSON property `policy`
473
459
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleIamV1Policy]
474
460
  attr_accessor :policy
@@ -663,14 +649,7 @@ module Google
663
649
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleRpcStatus]
664
650
  attr_accessor :error
665
651
 
666
- # Represents a whole or partial calendar date, such as a birthday. The time of
667
- # day and time zone are either specified elsewhere or are insignificant. The
668
- # date is relative to the Gregorian Calendar. This can represent one of the
669
- # following: * A full date, with non-zero year, month, and day values * A month
670
- # and day value, with a zero year, such as an anniversary * A year on its own,
671
- # with zero month and day values * A year and month value, with a zero day, such
672
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
673
- # google.protobuf.Timestamp`.
652
+ # The latest date this access tuple was seen in the logs.
674
653
  # Corresponds to the JSON property `lastSeenDate`
675
654
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate]
676
655
  attr_accessor :last_seen_date
@@ -725,26 +704,12 @@ module Google
725
704
  # @return [Fixnum]
726
705
  attr_accessor :log_count
727
706
 
728
- # Represents a whole or partial calendar date, such as a birthday. The time of
729
- # day and time zone are either specified elsewhere or are insignificant. The
730
- # date is relative to the Gregorian Calendar. This can represent one of the
731
- # following: * A full date, with non-zero year, month, and day values * A month
732
- # and day value, with a zero year, such as an anniversary * A year on its own,
733
- # with zero month and day values * A year and month value, with a zero day, such
734
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
735
- # google.protobuf.Timestamp`.
707
+ # The date of the newest log entry replayed.
736
708
  # Corresponds to the JSON property `newestDate`
737
709
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate]
738
710
  attr_accessor :newest_date
739
711
 
740
- # Represents a whole or partial calendar date, such as a birthday. The time of
741
- # day and time zone are either specified elsewhere or are insignificant. The
742
- # date is relative to the Gregorian Calendar. This can represent one of the
743
- # following: * A full date, with non-zero year, month, and day values * A month
744
- # and day value, with a zero year, such as an anniversary * A year on its own,
745
- # with zero month and day values * A year and month value, with a zero day, such
746
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
747
- # google.protobuf.Timestamp`.
712
+ # The date of the oldest log entry replayed.
748
713
  # Corresponds to the JSON property `oldestDate`
749
714
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate]
750
715
  attr_accessor :oldest_date
@@ -841,7 +806,7 @@ module Google
841
806
  end
842
807
  end
843
808
 
844
- # Associates `members` with a `role`.
809
+ # Associates `members`, or principals, with a `role`.
845
810
  class GoogleIamV1Binding
846
811
  include Google::Apis::Core::Hashable
847
812
 
@@ -864,7 +829,7 @@ module Google
864
829
  # @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeExpr]
865
830
  attr_accessor :condition
866
831
 
867
- # Specifies the identities requesting access for a Cloud Platform resource. `
832
+ # Specifies the principals requesting access for a Cloud Platform resource. `
868
833
  # members` can have the following values: * `allUsers`: A special identifier
869
834
  # that represents anyone who is on the internet; with or without a Google
870
835
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -894,8 +859,8 @@ module Google
894
859
  # @return [Array<String>]
895
860
  attr_accessor :members
896
861
 
897
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
898
- # , or `roles/owner`.
862
+ # Role that is assigned to the list of `members`, or principals. For example, `
863
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
899
864
  # Corresponds to the JSON property `role`
900
865
  # @return [String]
901
866
  attr_accessor :role
@@ -914,31 +879,31 @@ module Google
914
879
 
915
880
  # An Identity and Access Management (IAM) policy, which specifies access
916
881
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
917
- # A `binding` binds one or more `members` to a single `role`. Members can be
918
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
919
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
920
- # role or a user-created custom role. For some types of Google Cloud resources,
921
- # a `binding` can also specify a `condition`, which is a logical expression that
922
- # allows access to a resource only if the expression evaluates to `true`. A
923
- # condition can add constraints based on attributes of the request, the resource,
924
- # or both. To learn which resources support conditions in their IAM policies,
925
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
926
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
927
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
928
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
929
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
930
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
931
- # title": "expirable access", "description": "Does not grant access after Sep
932
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
933
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
934
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
935
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
936
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
937
- # roles/resourcemanager.organizationViewer condition: title: expirable access
938
- # description: Does not grant access after Sep 2020 expression: request.time <
939
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
940
- # description of IAM and its features, see the [IAM documentation](https://cloud.
941
- # google.com/iam/docs/).
882
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
883
+ # Principals can be user accounts, service accounts, Google groups, and domains (
884
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
885
+ # an IAM predefined role or a user-created custom role. For some types of Google
886
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
887
+ # logical expression that allows access to a resource only if the expression
888
+ # evaluates to `true`. A condition can add constraints based on attributes of
889
+ # the request, the resource, or both. To learn which resources support
890
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
891
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
892
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
893
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
894
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
895
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
896
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
897
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
898
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
899
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
900
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
901
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
902
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
903
+ # access description: Does not grant access after Sep 2020 expression: request.
904
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
905
+ # a description of IAM and its features, see the [IAM documentation](https://
906
+ # cloud.google.com/iam/docs/).
942
907
  class GoogleIamV1Policy
943
908
  include Google::Apis::Core::Hashable
944
909
 
@@ -947,14 +912,14 @@ module Google
947
912
  # @return [Array<Google::Apis::PolicysimulatorV1beta1::GoogleIamV1AuditConfig>]
948
913
  attr_accessor :audit_configs
949
914
 
950
- # Associates a list of `members` to a `role`. Optionally, may specify a `
951
- # condition` that determines how and when the `bindings` are applied. Each of
952
- # the `bindings` must contain at least one member. The `bindings` in a `Policy`
953
- # can refer to up to 1,500 members; up to 250 of these members can be Google
954
- # groups. Each occurrence of a member counts towards these limits. For example,
955
- # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
956
- # not to any other member, then you can add another 1,450 members to the `
957
- # bindings` in the `Policy`.
915
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
916
+ # specify a `condition` that determines how and when the `bindings` are applied.
917
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
918
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
919
+ # can be Google groups. Each occurrence of a principal counts towards these
920
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
921
+ # example.com`, and not to any other principal, then you can add another 1,450
922
+ # principals to the `bindings` in the `Policy`.
958
923
  # Corresponds to the JSON property `bindings`
959
924
  # @return [Array<Google::Apis::PolicysimulatorV1beta1::GoogleIamV1Binding>]
960
925
  attr_accessor :bindings
@@ -1133,14 +1098,7 @@ module Google
1133
1098
  end
1134
1099
  end
1135
1100
 
1136
- # Represents a whole or partial calendar date, such as a birthday. The time of
1137
- # day and time zone are either specified elsewhere or are insignificant. The
1138
- # date is relative to the Gregorian Calendar. This can represent one of the
1139
- # following: * A full date, with non-zero year, month, and day values * A month
1140
- # and day value, with a zero year, such as an anniversary * A year on its own,
1141
- # with zero month and day values * A year and month value, with a zero day, such
1142
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1143
- # google.protobuf.Timestamp`.
1101
+ #
1144
1102
  class GoogleTypeDate
1145
1103
  include Google::Apis::Core::Hashable
1146
1104
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PolicysimulatorV1beta1
18
18
  # Version of the google-apis-policysimulator_v1beta1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.13.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 = "20211002"
25
+ REVISION = "20220128"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policysimulator_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.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: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policysimulator_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policysimulator_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.13.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Policy Simulator API V1beta1