google-cloud-security_center-v1p1beta1 0.4.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +188 -190
  3. data/README.md +66 -2
  4. data/lib/google/cloud/security_center/v1p1beta1.rb +3 -0
  5. data/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +99 -80
  6. data/lib/google/cloud/security_center/v1p1beta1/security_center/operations.rb +95 -10
  7. data/lib/google/cloud/security_center/v1p1beta1/security_center/paths.rb +175 -17
  8. data/lib/google/cloud/security_center/v1p1beta1/version.rb +1 -1
  9. data/lib/google/cloud/securitycenter/v1p1beta1/asset_pb.rb +4 -1
  10. data/lib/google/cloud/securitycenter/v1p1beta1/finding_pb.rb +2 -1
  11. data/lib/google/cloud/securitycenter/v1p1beta1/folder_pb.rb +24 -0
  12. data/lib/google/cloud/securitycenter/v1p1beta1/notification_config_pb.rb +1 -1
  13. data/lib/google/cloud/securitycenter/v1p1beta1/notification_message_pb.rb +1 -2
  14. data/lib/google/cloud/securitycenter/v1p1beta1/organization_settings_pb.rb +2 -1
  15. data/lib/google/cloud/securitycenter/v1p1beta1/resource_pb.rb +3 -0
  16. data/lib/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response_pb.rb +1 -1
  17. data/lib/google/cloud/securitycenter/v1p1beta1/security_marks_pb.rb +2 -1
  18. data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb +3 -0
  19. data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_services_pb.rb +27 -25
  20. data/lib/google/cloud/securitycenter/v1p1beta1/source_pb.rb +2 -1
  21. data/proto_docs/google/api/field_behavior.rb +6 -0
  22. data/proto_docs/google/api/resource.rb +50 -14
  23. data/proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb +13 -2
  24. data/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb +14 -3
  25. data/proto_docs/google/cloud/securitycenter/v1p1beta1/folder.rb +40 -0
  26. data/proto_docs/google/cloud/securitycenter/v1p1beta1/organization_settings.rb +4 -0
  27. data/proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb +5 -0
  28. data/proto_docs/google/cloud/securitycenter/v1p1beta1/security_marks.rb +10 -0
  29. data/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb +34 -18
  30. data/proto_docs/google/cloud/securitycenter/v1p1beta1/source.rb +8 -0
  31. data/proto_docs/google/longrunning/operations.rb +17 -3
  32. data/proto_docs/google/protobuf/any.rb +5 -2
  33. data/proto_docs/google/protobuf/timestamp.rb +10 -1
  34. metadata +14 -9
@@ -57,10 +57,13 @@ module Google
57
57
  # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
- # any, err := ptypes.MarshalAny(foo)
60
+ # any, err := anypb.New(foo)
61
+ # if err != nil {
62
+ # ...
63
+ # }
61
64
  # ...
62
65
  # foo := &pb.Foo{}
63
- # if err := ptypes.UnmarshalAny(any, foo); err != nil {
66
+ # if err := any.UnmarshalTo(foo); err != nil {
64
67
  # ...
65
68
  # }
66
69
  #
@@ -70,7 +70,16 @@ module Google
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
72
  #
73
- # Example 5: Compute Timestamp from current time in Python.
73
+ # Example 5: Compute Timestamp from Java `Instant.now()`.
74
+ #
75
+ # Instant now = Instant.now();
76
+ #
77
+ # Timestamp timestamp =
78
+ # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
+ # .setNanos(now.getNano()).build();
80
+ #
81
+ #
82
+ # Example 6: Compute Timestamp from current time in Python.
74
83
  #
75
84
  # timestamp = Timestamp()
76
85
  # timestamp.GetCurrentTime()
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.7.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-09-03 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.24.0
67
+ version: 1.25.1
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.24.0
74
+ version: 1.25.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -171,7 +171,10 @@ dependencies:
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0.9'
173
173
  description: Security Command Center API provides access to temporal views of assets
174
- and findings within an organization.
174
+ and findings within an organization. Note that google-cloud-security_center-v1p1beta1
175
+ is a version-specific client library. For most uses, we recommend installing the
176
+ main client library google-cloud-security_center instead. See the readme for more
177
+ details.
175
178
  email: googleapis-packages@google.com
176
179
  executables: []
177
180
  extensions: []
@@ -191,6 +194,7 @@ files:
191
194
  - lib/google/cloud/security_center/v1p1beta1/version.rb
192
195
  - lib/google/cloud/securitycenter/v1p1beta1/asset_pb.rb
193
196
  - lib/google/cloud/securitycenter/v1p1beta1/finding_pb.rb
197
+ - lib/google/cloud/securitycenter/v1p1beta1/folder_pb.rb
194
198
  - lib/google/cloud/securitycenter/v1p1beta1/notification_config_pb.rb
195
199
  - lib/google/cloud/securitycenter/v1p1beta1/notification_message_pb.rb
196
200
  - lib/google/cloud/securitycenter/v1p1beta1/organization_settings_pb.rb
@@ -205,6 +209,7 @@ files:
205
209
  - proto_docs/google/api/resource.rb
206
210
  - proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb
207
211
  - proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb
212
+ - proto_docs/google/cloud/securitycenter/v1p1beta1/folder.rb
208
213
  - proto_docs/google/cloud/securitycenter/v1p1beta1/notification_config.rb
209
214
  - proto_docs/google/cloud/securitycenter/v1p1beta1/notification_message.rb
210
215
  - proto_docs/google/cloud/securitycenter/v1p1beta1/organization_settings.rb
@@ -237,14 +242,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
237
242
  requirements:
238
243
  - - ">="
239
244
  - !ruby/object:Gem::Version
240
- version: '2.4'
245
+ version: '2.5'
241
246
  required_rubygems_version: !ruby/object:Gem::Requirement
242
247
  requirements:
243
248
  - - ">="
244
249
  - !ruby/object:Gem::Version
245
250
  version: '0'
246
251
  requirements: []
247
- rubygems_version: 3.1.3
252
+ rubygems_version: 3.2.17
248
253
  signing_key:
249
254
  specification_version: 4
250
255
  summary: API Client library for the Cloud Security Command Center V1p1beta1 API