google-cloud-security_center-v1 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  3. data/lib/google/cloud/securitycenter/v1/access_pb.rb +24 -20
  4. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +28 -25
  5. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +25 -11
  6. data/lib/google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb.rb +24 -4
  7. data/lib/google/cloud/securitycenter/v1/cloud_dlp_inspection_pb.rb +24 -7
  8. data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -6
  9. data/lib/google/cloud/securitycenter/v1/connection_pb.rb +24 -16
  10. data/lib/google/cloud/securitycenter/v1/contact_details_pb.rb +24 -7
  11. data/lib/google/cloud/securitycenter/v1/container_pb.rb +25 -7
  12. data/lib/google/cloud/securitycenter/v1/database_pb.rb +24 -8
  13. data/lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb +25 -12
  14. data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +24 -9
  15. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +25 -8
  16. data/lib/google/cloud/securitycenter/v1/file_pb.rb +24 -9
  17. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +45 -67
  18. data/lib/google/cloud/securitycenter/v1/folder_pb.rb +24 -5
  19. data/lib/google/cloud/securitycenter/v1/iam_binding_pb.rb +24 -11
  20. data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +24 -24
  21. data/lib/google/cloud/securitycenter/v1/kernel_rootkit_pb.rb +24 -12
  22. data/lib/google/cloud/securitycenter/v1/kubernetes_pb.rb +26 -58
  23. data/lib/google/cloud/securitycenter/v1/label_pb.rb +24 -5
  24. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +24 -63
  25. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +25 -10
  26. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +24 -13
  27. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +26 -8
  28. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +24 -16
  29. data/lib/google/cloud/securitycenter/v1/process_pb.rb +25 -17
  30. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +25 -11
  31. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +25 -11
  32. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb +25 -26
  33. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb +26 -16
  34. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +24 -6
  35. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +40 -279
  36. data/lib/google/cloud/securitycenter/v1/source_pb.rb +24 -7
  37. data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +24 -59
  38. data/proto_docs/google/api/client.rb +10 -1
  39. data/proto_docs/google/protobuf/any.rb +7 -4
  40. data/proto_docs/google/protobuf/struct.rb +1 -1
  41. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  42. metadata +4 -4
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.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: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a