google-cloud-security_center 0.9.0 → 0.10.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 +4 -4
- data/AUTHENTICATION.md +0 -5
- data/lib/google/cloud/security_center/v1/helpers.rb +8 -0
- data/lib/google/cloud/security_center/v1/security_center_client.rb +17 -0
- data/lib/google/cloud/security_center/v1p1beta1/helpers.rb +8 -0
- data/lib/google/cloud/security_center/v1p1beta1/security_center_client.rb +17 -0
- data/lib/google/cloud/security_center/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 749de56c11f9889958f4324c0ca079c20958eef734a999ddaaa76017d8a64672
|
|
4
|
+
data.tar.gz: e6c3ee45d7cf51e0a7d9c725923c85cc42f162e1d9f639d46b2eebb2beec0fca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 298e95aaa10323bc0a13a8fa6166454c252cb9e274c77ee294b5f4e743cca1b0ad5df462f1d4a6f6b7af1c08d91b8ef0698f1611bde5955c107650fd2509c97e
|
|
7
|
+
data.tar.gz: 4dea98d3b7a01930960633df851cee7c763aa1453c25ac6fd6bd9cc2b7d939dc17e41d4c5dfa8aee8ea95b788737e907380e902f72c5d1985d30913acd061897
|
data/AUTHENTICATION.md
CHANGED
|
@@ -170,8 +170,3 @@ Developers service account.
|
|
|
170
170
|
|
|
171
171
|
The key file you download will be used by this library to authenticate API
|
|
172
172
|
requests and should be stored in a secure location.
|
|
173
|
-
|
|
174
|
-
## Troubleshooting
|
|
175
|
-
|
|
176
|
-
If you're having trouble authenticating you can ask for help by following the
|
|
177
|
-
{file:TROUBLESHOOTING.md Troubleshooting Guide}.
|
|
@@ -66,6 +66,14 @@ module Google
|
|
|
66
66
|
self.class.organization_settings_path organization
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
+
# Alias for Google::Cloud::SecurityCenter::V1::SecurityCenterClient.security_marks_path.
|
|
70
|
+
# @param organization [String]
|
|
71
|
+
# @param asset [String]
|
|
72
|
+
# @return [String]
|
|
73
|
+
def security_marks_path organization, asset
|
|
74
|
+
self.class.security_marks_path organization, asset
|
|
75
|
+
end
|
|
76
|
+
|
|
69
77
|
# Alias for Google::Cloud::SecurityCenter::V1::SecurityCenterClient.source_path.
|
|
70
78
|
# @param organization [String]
|
|
71
79
|
# @param source [String]
|
|
@@ -131,6 +131,12 @@ module Google
|
|
|
131
131
|
|
|
132
132
|
private_constant :ORGANIZATION_SETTINGS_PATH_TEMPLATE
|
|
133
133
|
|
|
134
|
+
SECURITY_MARKS_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
135
|
+
"organizations/{organization}/assets/{asset}/securityMarks"
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
private_constant :SECURITY_MARKS_PATH_TEMPLATE
|
|
139
|
+
|
|
134
140
|
SOURCE_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
135
141
|
"organizations/{organization}/sources/{source}"
|
|
136
142
|
)
|
|
@@ -213,6 +219,17 @@ module Google
|
|
|
213
219
|
)
|
|
214
220
|
end
|
|
215
221
|
|
|
222
|
+
# Returns a fully-qualified security_marks resource name string.
|
|
223
|
+
# @param organization [String]
|
|
224
|
+
# @param asset [String]
|
|
225
|
+
# @return [String]
|
|
226
|
+
def self.security_marks_path organization, asset
|
|
227
|
+
SECURITY_MARKS_PATH_TEMPLATE.render(
|
|
228
|
+
:"organization" => organization,
|
|
229
|
+
:"asset" => asset
|
|
230
|
+
)
|
|
231
|
+
end
|
|
232
|
+
|
|
216
233
|
# Returns a fully-qualified source resource name string.
|
|
217
234
|
# @param organization [String]
|
|
218
235
|
# @param source [String]
|
|
@@ -49,6 +49,14 @@ module Google
|
|
|
49
49
|
self.class.organization_settings_path organization
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
# Alias for Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenterClient.security_marks_path.
|
|
53
|
+
# @param organization [String]
|
|
54
|
+
# @param asset [String]
|
|
55
|
+
# @return [String]
|
|
56
|
+
def security_marks_path organization, asset
|
|
57
|
+
self.class.security_marks_path organization, asset
|
|
58
|
+
end
|
|
59
|
+
|
|
52
60
|
# Alias for Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenterClient.source_path.
|
|
53
61
|
# @param organization [String]
|
|
54
62
|
# @param source [String]
|
|
@@ -119,6 +119,12 @@ module Google
|
|
|
119
119
|
|
|
120
120
|
private_constant :ORGANIZATION_SETTINGS_PATH_TEMPLATE
|
|
121
121
|
|
|
122
|
+
SECURITY_MARKS_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
123
|
+
"organizations/{organization}/assets/{asset}/securityMarks"
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
private_constant :SECURITY_MARKS_PATH_TEMPLATE
|
|
127
|
+
|
|
122
128
|
SOURCE_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
123
129
|
"organizations/{organization}/sources/{source}"
|
|
124
130
|
)
|
|
@@ -173,6 +179,17 @@ module Google
|
|
|
173
179
|
)
|
|
174
180
|
end
|
|
175
181
|
|
|
182
|
+
# Returns a fully-qualified security_marks resource name string.
|
|
183
|
+
# @param organization [String]
|
|
184
|
+
# @param asset [String]
|
|
185
|
+
# @return [String]
|
|
186
|
+
def self.security_marks_path organization, asset
|
|
187
|
+
SECURITY_MARKS_PATH_TEMPLATE.render(
|
|
188
|
+
:"organization" => organization,
|
|
189
|
+
:"asset" => asset
|
|
190
|
+
)
|
|
191
|
+
end
|
|
192
|
+
|
|
176
193
|
# Returns a fully-qualified source resource name string.
|
|
177
194
|
# @param organization [String]
|
|
178
195
|
# @param source [String]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-security_center
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.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: 2020-
|
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|