google-apis-securitycenter_v1beta2 0.31.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9792564831becfd729f3120548d7194f51b231da1cb230a9538362300245ec1f
|
4
|
+
data.tar.gz: 829a8594cc4bbf3532e68ff268a1cf534d27d5ff20461ebcac1ca71389cb4643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0b4d0c6bd05fc5ba34d0e4afa823f4d605a597fb1633811da5db7d3996de0c5cba2aa41c775910657cc0104005fac61eb5a652f5c5e22b6bcf025e75f7248c4
|
7
|
+
data.tar.gz: 21c0ba256e7a3d338560eec5b6fe8595f88b4e79f23de5f7587246d3010255bfe4ac7d723ebdcd34bbcf196fc0a4a3090d009fceec35a91e15b248edcfadcbc5
|
data/CHANGELOG.md
CHANGED
@@ -516,6 +516,57 @@ module Google
|
|
516
516
|
end
|
517
517
|
end
|
518
518
|
|
519
|
+
# Represents database access information, such as queries. A database may be a
|
520
|
+
# sub-resource of an instance (as in the case of CloudSQL instances or Cloud
|
521
|
+
# Spanner instances), or the database instance itself. Some database resources
|
522
|
+
# may not have the full resource name populated because these resource types are
|
523
|
+
# not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
|
524
|
+
# cases only the display name will be provided.
|
525
|
+
class Database
|
526
|
+
include Google::Apis::Core::Hashable
|
527
|
+
|
528
|
+
# The human readable name of the database the user connected to.
|
529
|
+
# Corresponds to the JSON property `displayName`
|
530
|
+
# @return [String]
|
531
|
+
attr_accessor :display_name
|
532
|
+
|
533
|
+
# The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
|
534
|
+
# change).
|
535
|
+
# Corresponds to the JSON property `grantees`
|
536
|
+
# @return [Array<String>]
|
537
|
+
attr_accessor :grantees
|
538
|
+
|
539
|
+
# The full resource name of the database the user connected to, if it is
|
540
|
+
# supported by CAI. (https://google.aip.dev/122#full-resource-names)
|
541
|
+
# Corresponds to the JSON property `name`
|
542
|
+
# @return [String]
|
543
|
+
attr_accessor :name
|
544
|
+
|
545
|
+
# The SQL statement associated with the relevant access.
|
546
|
+
# Corresponds to the JSON property `query`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :query
|
549
|
+
|
550
|
+
# The username used to connect to the DB. This may not necessarily be an IAM
|
551
|
+
# principal, and has no required format.
|
552
|
+
# Corresponds to the JSON property `userName`
|
553
|
+
# @return [String]
|
554
|
+
attr_accessor :user_name
|
555
|
+
|
556
|
+
def initialize(**args)
|
557
|
+
update!(**args)
|
558
|
+
end
|
559
|
+
|
560
|
+
# Update properties of this object
|
561
|
+
def update!(**args)
|
562
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
563
|
+
@grantees = args[:grantees] if args.key?(:grantees)
|
564
|
+
@name = args[:name] if args.key?(:name)
|
565
|
+
@query = args[:query] if args.key?(:query)
|
566
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
519
570
|
# Details of a subscription.
|
520
571
|
class Details
|
521
572
|
include Google::Apis::Core::Hashable
|
@@ -812,6 +863,16 @@ module Google
|
|
812
863
|
# @return [String]
|
813
864
|
attr_accessor :create_time
|
814
865
|
|
866
|
+
# Represents database access information, such as queries. A database may be a
|
867
|
+
# sub-resource of an instance (as in the case of CloudSQL instances or Cloud
|
868
|
+
# Spanner instances), or the database instance itself. Some database resources
|
869
|
+
# may not have the full resource name populated because these resource types are
|
870
|
+
# not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
|
871
|
+
# cases only the display name will be provided.
|
872
|
+
# Corresponds to the JSON property `database`
|
873
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Database]
|
874
|
+
attr_accessor :database
|
875
|
+
|
815
876
|
# Contains more detail about the finding.
|
816
877
|
# Corresponds to the JSON property `description`
|
817
878
|
# @return [String]
|
@@ -976,6 +1037,7 @@ module Google
|
|
976
1037
|
@contacts = args[:contacts] if args.key?(:contacts)
|
977
1038
|
@containers = args[:containers] if args.key?(:containers)
|
978
1039
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1040
|
+
@database = args[:database] if args.key?(:database)
|
979
1041
|
@description = args[:description] if args.key?(:description)
|
980
1042
|
@event_time = args[:event_time] if args.key?(:event_time)
|
981
1043
|
@exfiltration = args[:exfiltration] if args.key?(:exfiltration)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220809"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class Database
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class Details
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -511,6 +517,17 @@ module Google
|
|
511
517
|
end
|
512
518
|
end
|
513
519
|
|
520
|
+
class Database
|
521
|
+
# @private
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
523
|
+
property :display_name, as: 'displayName'
|
524
|
+
collection :grantees, as: 'grantees'
|
525
|
+
property :name, as: 'name'
|
526
|
+
property :query, as: 'query'
|
527
|
+
property :user_name, as: 'userName'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
514
531
|
class Details
|
515
532
|
# @private
|
516
533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -593,6 +610,8 @@ module Google
|
|
593
610
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
594
611
|
|
595
612
|
property :create_time, as: 'createTime'
|
613
|
+
property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::Database, decorator: Google::Apis::SecuritycenterV1beta2::Database::Representation
|
614
|
+
|
596
615
|
property :description, as: 'description'
|
597
616
|
property :event_time, as: 'eventTime'
|
598
617
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.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-08-
|
11
|
+
date: 2022-08-15 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-securitycenter_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.32.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|