google-apis-securitycenter_v1 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/securitycenter_v1/classes.rb +18 -0
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +3 -0
- data/lib/google/apis/securitycenter_v1/service.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e694558741d7f731680f19da31a5f74b9c6126ab467efe667bd225c323fe7c78
|
4
|
+
data.tar.gz: 4adb28be17c516abb30906d50f355587d2aadd08fb30dff5af42d24636f62016
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 470732a79bebc01ad457e01cf88d28783cee8d289e98dbfeb5c54ba1be046f4a85b746433dcfea6268641717cdb962fbffb03c5e2c0c8733d9ef29fe2a5db287
|
7
|
+
data.tar.gz: 8818da1c131f7714d4101cddf170d8920dc8f95f7e1367efccf6abee149c5111d0912b7cbd69bc09165793895ae76782841846ff56b5d8e77cc8e7f2d2e2f1bc
|
data/CHANGELOG.md
CHANGED
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -701,6 +701,11 @@ module Google
|
|
701
701
|
class GoogleCloudSecuritycenterV1Resource
|
702
702
|
include Google::Apis::Core::Hashable
|
703
703
|
|
704
|
+
# The human readable name of the resource.
|
705
|
+
# Corresponds to the JSON property `displayName`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :display_name
|
708
|
+
|
704
709
|
# Output only. Contains a Folder message for each folder in the assets ancestry.
|
705
710
|
# The first folder is the deepest nested folder, and the last folder is the
|
706
711
|
# folder directly under the Organization.
|
@@ -745,6 +750,7 @@ module Google
|
|
745
750
|
|
746
751
|
# Update properties of this object
|
747
752
|
def update!(**args)
|
753
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
748
754
|
@folders = args[:folders] if args.key?(:folders)
|
749
755
|
@name = args[:name] if args.key?(:name)
|
750
756
|
@parent = args[:parent] if args.key?(:parent)
|
@@ -1965,6 +1971,11 @@ module Google
|
|
1965
1971
|
class Resource
|
1966
1972
|
include Google::Apis::Core::Hashable
|
1967
1973
|
|
1974
|
+
# The human readable name of the resource.
|
1975
|
+
# Corresponds to the JSON property `displayName`
|
1976
|
+
# @return [String]
|
1977
|
+
attr_accessor :display_name
|
1978
|
+
|
1968
1979
|
# Contains a Folder message for each folder in the assets ancestry. The first
|
1969
1980
|
# folder is the deepest nested folder, and the last folder is the folder
|
1970
1981
|
# directly under the Organization.
|
@@ -1998,18 +2009,25 @@ module Google
|
|
1998
2009
|
# @return [String]
|
1999
2010
|
attr_accessor :project_name
|
2000
2011
|
|
2012
|
+
# The full resource type of the resource.
|
2013
|
+
# Corresponds to the JSON property `type`
|
2014
|
+
# @return [String]
|
2015
|
+
attr_accessor :type
|
2016
|
+
|
2001
2017
|
def initialize(**args)
|
2002
2018
|
update!(**args)
|
2003
2019
|
end
|
2004
2020
|
|
2005
2021
|
# Update properties of this object
|
2006
2022
|
def update!(**args)
|
2023
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2007
2024
|
@folders = args[:folders] if args.key?(:folders)
|
2008
2025
|
@name = args[:name] if args.key?(:name)
|
2009
2026
|
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
2010
2027
|
@parent_name = args[:parent_name] if args.key?(:parent_name)
|
2011
2028
|
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
2012
2029
|
@project_name = args[:project_name] if args.key?(:project_name)
|
2030
|
+
@type = args[:type] if args.key?(:type)
|
2013
2031
|
end
|
2014
2032
|
end
|
2015
2033
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.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 = "
|
25
|
+
REVISION = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -502,6 +502,7 @@ module Google
|
|
502
502
|
class GoogleCloudSecuritycenterV1Resource
|
503
503
|
# @private
|
504
504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
+
property :display_name, as: 'displayName'
|
505
506
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
506
507
|
|
507
508
|
property :name, as: 'name'
|
@@ -792,6 +793,7 @@ module Google
|
|
792
793
|
class Resource
|
793
794
|
# @private
|
794
795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
+
property :display_name, as: 'displayName'
|
795
797
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
796
798
|
|
797
799
|
property :name, as: 'name'
|
@@ -799,6 +801,7 @@ module Google
|
|
799
801
|
property :parent_name, as: 'parentName'
|
800
802
|
property :project_display_name, as: 'projectDisplayName'
|
801
803
|
property :project_name, as: 'projectName'
|
804
|
+
property :type, as: 'type'
|
802
805
|
end
|
803
806
|
end
|
804
807
|
|
@@ -387,7 +387,7 @@ module Google
|
|
387
387
|
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
388
388
|
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
389
389
|
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
390
|
-
# resource.folders.resource_folder: `=`, `:`
|
390
|
+
# resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`
|
391
391
|
# @param [String] order_by
|
392
392
|
# Expression that defines what fields and order to use for sorting. The string
|
393
393
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
@@ -1584,7 +1584,7 @@ module Google
|
|
1584
1584
|
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
1585
1585
|
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
1586
1586
|
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
1587
|
-
# resource.folders.resource_folder: `=`, `:`
|
1587
|
+
# resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`
|
1588
1588
|
# @param [String] order_by
|
1589
1589
|
# Expression that defines what fields and order to use for sorting. The string
|
1590
1590
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
@@ -2101,7 +2101,7 @@ module Google
|
|
2101
2101
|
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
2102
2102
|
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
2103
2103
|
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
2104
|
-
# resource.folders.resource_folder: `=`, `:`
|
2104
|
+
# resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`
|
2105
2105
|
# @param [String] order_by
|
2106
2106
|
# Expression that defines what fields and order to use for sorting. The string
|
2107
2107
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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: 2021-10-
|
11
|
+
date: 2021-10-27 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.14.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|