google-apis-securitycenter_v1beta1 0.8.0 → 0.12.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: 638d1b2879f81dde52afab75ca7ec5b57f62465782d8465d962b83c3767c9fd6
4
- data.tar.gz: 6409b1fd11f0a1a502acc343b0d2f375341f5c1917dd395c4028021290940dd3
3
+ metadata.gz: 7d7d943dabb6a7f45be2019dd84d33994c75266e882f47133cdc1df56b60a494
4
+ data.tar.gz: 74adb6a04055187734a9276acaebb5d5e3bc72df3905c14f8446b258963e6cbd
5
5
  SHA512:
6
- metadata.gz: 70be9925de3d8a602b68f4822338a592fde9ff7efebf460a4d71b104fd445ed16fb729f59a7a0c4be55512e679defb78d6a56aebd9b23498b59af98042fb13c2
7
- data.tar.gz: 34bee107d68b1dd1342f99342916385eaf54c01dffa5dbe8cca910f18dc0a903bbd2bb947d3272005f808c59241b9484b47397c43e19eacd317a1d3307eb0d68
6
+ metadata.gz: 8d8ef743b8b60c755926dbf47f177a0a5bc6c63d7cd18087344511492957bcfbd78a927d7c0729105f2b22cb57745987f37b03c160377bf65341088936a369cb
7
+ data.tar.gz: 2b0a8495ec8b3e6b2a679dfa6d75505ccb838e9e5e9d356968d10b3539cf905c20102cc10e62b63cfe5d56b24eb3c589aabdb31b4f2c01b9a4a9082984156abf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-11-09)
4
+
5
+ * Regenerated from discovery document revision 20211103
6
+
7
+ ### v0.11.0 (2021-10-20)
8
+
9
+ * Regenerated from discovery document revision 20211015
10
+
11
+ ### v0.10.0 (2021-10-12)
12
+
13
+ * Regenerated from discovery document revision 20211007
14
+
15
+ ### v0.9.0 (2021-10-05)
16
+
17
+ * Regenerated from discovery document revision 20210930
18
+
3
19
  ### v0.8.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210820
data/OVERVIEW.md CHANGED
@@ -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 Securitycenter service in particular.)
67
67
 
@@ -179,7 +179,7 @@ module Google
179
179
  end
180
180
  end
181
181
 
182
- # Associates `members` with a `role`.
182
+ # Associates `members`, or principals, with a `role`.
183
183
  class Binding
184
184
  include Google::Apis::Core::Hashable
185
185
 
@@ -202,7 +202,7 @@ module Google
202
202
  # @return [Google::Apis::SecuritycenterV1beta1::Expr]
203
203
  attr_accessor :condition
204
204
 
205
- # Specifies the identities requesting access for a Cloud Platform resource. `
205
+ # Specifies the principals requesting access for a Cloud Platform resource. `
206
206
  # members` can have the following values: * `allUsers`: A special identifier
207
207
  # that represents anyone who is on the internet; with or without a Google
208
208
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -232,8 +232,8 @@ module Google
232
232
  # @return [Array<String>]
233
233
  attr_accessor :members
234
234
 
235
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
236
- # , or `roles/owner`.
235
+ # Role that is assigned to the list of `members`, or principals. For example, `
236
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
237
237
  # Corresponds to the JSON property `role`
238
238
  # @return [String]
239
239
  attr_accessor :role
@@ -631,13 +631,16 @@ module Google
631
631
  class GetPolicyOptions
632
632
  include Google::Apis::Core::Hashable
633
633
 
634
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
635
- # 3. Requests specifying an invalid value will be rejected. Requests for
636
- # policies with any conditional bindings must specify version 3. Policies
637
- # without any conditional bindings may specify any valid value or leave the
638
- # field unset. To learn which resources support conditions in their IAM policies,
639
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
640
- # resource-policies).
634
+ # Optional. The maximum policy version that will be used to format the policy.
635
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
636
+ # rejected. Requests for policies with any conditional role bindings must
637
+ # specify version 3. Policies with no conditional role bindings may specify any
638
+ # valid value or leave the field unset. The policy in the response might use the
639
+ # policy version that you specified, or it might use a lower policy version. For
640
+ # example, if you specify version 3, but the policy has no conditional role
641
+ # bindings, the response uses version 1. To learn which resources support
642
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
643
+ # google.com/iam/help/conditions/resource-policies).
641
644
  # Corresponds to the JSON property `requestedPolicyVersion`
642
645
  # @return [Fixnum]
643
646
  attr_accessor :requested_policy_version
@@ -691,6 +694,11 @@ module Google
691
694
  class GoogleCloudSecuritycenterV1Resource
692
695
  include Google::Apis::Core::Hashable
693
696
 
697
+ # The human readable name of the resource.
698
+ # Corresponds to the JSON property `displayName`
699
+ # @return [String]
700
+ attr_accessor :display_name
701
+
694
702
  # Output only. Contains a Folder message for each folder in the assets ancestry.
695
703
  # The first folder is the deepest nested folder, and the last folder is the
696
704
  # folder directly under the Organization.
@@ -735,6 +743,7 @@ module Google
735
743
 
736
744
  # Update properties of this object
737
745
  def update!(**args)
746
+ @display_name = args[:display_name] if args.key?(:display_name)
738
747
  @folders = args[:folders] if args.key?(:folders)
739
748
  @name = args[:name] if args.key?(:name)
740
749
  @parent = args[:parent] if args.key?(:parent)
@@ -1752,31 +1761,31 @@ module Google
1752
1761
 
1753
1762
  # An Identity and Access Management (IAM) policy, which specifies access
1754
1763
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1755
- # A `binding` binds one or more `members` to a single `role`. Members can be
1756
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1757
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1758
- # role or a user-created custom role. For some types of Google Cloud resources,
1759
- # a `binding` can also specify a `condition`, which is a logical expression that
1760
- # allows access to a resource only if the expression evaluates to `true`. A
1761
- # condition can add constraints based on attributes of the request, the resource,
1762
- # or both. To learn which resources support conditions in their IAM policies,
1763
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1764
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1765
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1766
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1767
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1768
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1769
- # title": "expirable access", "description": "Does not grant access after Sep
1770
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1771
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1772
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1773
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1774
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1775
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1776
- # description: Does not grant access after Sep 2020 expression: request.time <
1777
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1778
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1779
- # google.com/iam/docs/).
1764
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1765
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1766
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1767
+ # an IAM predefined role or a user-created custom role. For some types of Google
1768
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1769
+ # logical expression that allows access to a resource only if the expression
1770
+ # evaluates to `true`. A condition can add constraints based on attributes of
1771
+ # the request, the resource, or both. To learn which resources support
1772
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1773
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1774
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1775
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1776
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1777
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1778
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1779
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1780
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1781
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1782
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1783
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1784
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1785
+ # access description: Does not grant access after Sep 2020 expression: request.
1786
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1787
+ # a description of IAM and its features, see the [IAM documentation](https://
1788
+ # cloud.google.com/iam/docs/).
1780
1789
  class Policy
1781
1790
  include Google::Apis::Core::Hashable
1782
1791
 
@@ -1785,9 +1794,14 @@ module Google
1785
1794
  # @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
1786
1795
  attr_accessor :audit_configs
1787
1796
 
1788
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1789
- # condition` that determines how and when the `bindings` are applied. Each of
1790
- # the `bindings` must contain at least one member.
1797
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1798
+ # specify a `condition` that determines how and when the `bindings` are applied.
1799
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1800
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1801
+ # can be Google groups. Each occurrence of a principal counts towards these
1802
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1803
+ # example.com`, and not to any other principal, then you can add another 1,450
1804
+ # principals to the `bindings` in the `Policy`.
1791
1805
  # Corresponds to the JSON property `bindings`
1792
1806
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
1793
1807
  attr_accessor :bindings
@@ -2007,31 +2021,31 @@ module Google
2007
2021
 
2008
2022
  # An Identity and Access Management (IAM) policy, which specifies access
2009
2023
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2010
- # A `binding` binds one or more `members` to a single `role`. Members can be
2011
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2012
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2013
- # role or a user-created custom role. For some types of Google Cloud resources,
2014
- # a `binding` can also specify a `condition`, which is a logical expression that
2015
- # allows access to a resource only if the expression evaluates to `true`. A
2016
- # condition can add constraints based on attributes of the request, the resource,
2017
- # or both. To learn which resources support conditions in their IAM policies,
2018
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2019
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2020
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2021
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2022
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2023
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2024
- # title": "expirable access", "description": "Does not grant access after Sep
2025
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2026
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2027
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2028
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2029
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2030
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2031
- # description: Does not grant access after Sep 2020 expression: request.time <
2032
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2033
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2034
- # google.com/iam/docs/).
2024
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2025
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2026
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2027
+ # an IAM predefined role or a user-created custom role. For some types of Google
2028
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2029
+ # logical expression that allows access to a resource only if the expression
2030
+ # evaluates to `true`. A condition can add constraints based on attributes of
2031
+ # the request, the resource, or both. To learn which resources support
2032
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2033
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2034
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2035
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2036
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2037
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2038
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2039
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2040
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2041
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2042
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2043
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2044
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2045
+ # access description: Does not grant access after Sep 2020 expression: request.
2046
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2047
+ # a description of IAM and its features, see the [IAM documentation](https://
2048
+ # cloud.google.com/iam/docs/).
2035
2049
  # Corresponds to the JSON property `policy`
2036
2050
  # @return [Google::Apis::SecuritycenterV1beta1::Policy]
2037
2051
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210820"
25
+ REVISION = "20211103"
26
26
  end
27
27
  end
28
28
  end
@@ -486,6 +486,7 @@ module Google
486
486
  class GoogleCloudSecuritycenterV1Resource
487
487
  # @private
488
488
  class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :display_name, as: 'displayName'
489
490
  collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta1::Folder, decorator: Google::Apis::SecuritycenterV1beta1::Folder::Representation
490
491
 
491
492
  property :name, as: 'name'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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-09-06 00:00:00.000000000 Z
11
+ date: 2021-11-15 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-securitycenter_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: