google-apis-securitycenter_v1beta1 0.34.0 → 0.35.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: 42d69499c49ce6481d40df94891b34b4764e38315a61c6dd89c47be0235cd17b
4
- data.tar.gz: 32c90620935197cca7d2f0bdb486406795763f4b6894e493b60cf9bc52b52970
3
+ metadata.gz: b3959070d956e84f8da770051e65b7a13e2ff060ff07e9d307564df46e0911f8
4
+ data.tar.gz: f176641c6014cfc73c8986ede87e1535821a8f7d18cb182ebb30aa068774dd1d
5
5
  SHA512:
6
- metadata.gz: a871196992792208d60d82a4a6072aaa8b640ffe45e1be49a76a140777836d8af4e1965ee7f5e14238d5fc06bd09db49b769ac6346b76c3604c814f68b046a10
7
- data.tar.gz: cb24c95857ee9f8a19fd5ca8b00744860f02379e91ff6e28e3a22d05f9766ebebdd476c0f6f0e44254ca161a3f56bca049a38545ff71348d992fb0c166ff437f
6
+ metadata.gz: 9a51ce91eb735e1e6fbc4e5f32d77ff2daaf3e038ffa519de943eae4b4016413c18e95dfeef3768dbedf67d7f9c7fd3a281f602e97bf911527cc9a232d8fb9fb
7
+ data.tar.gz: 8dead1295e9f2b2a4710b613d60bb8ed63ef7c9d27634759761ddaff7f28f673dc1fb3cf0950001a61a59a31152d6594baa227bbccb53f18f3cc2179e9216405
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.35.0 (2022-08-02)
4
+
5
+ * Regenerated from discovery document revision 20220728
6
+
3
7
  ### v0.34.0 (2022-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220720
@@ -41,11 +41,44 @@ module Google
41
41
  # @return [String]
42
42
  attr_accessor :method_name
43
43
 
44
- # Associated email, such as "foo@google.com".
44
+ # Associated email, such as "foo@google.com". The email address of the
45
+ # authenticated user (or service account on behalf of third party principal)
46
+ # making the request. For third party identity callers, the `principal_subject`
47
+ # field is populated instead of this field. For privacy reasons, the principal
48
+ # email address is sometimes redacted. For more information, see [Caller
49
+ # identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
45
50
  # Corresponds to the JSON property `principalEmail`
46
51
  # @return [String]
47
52
  attr_accessor :principal_email
48
53
 
54
+ # A string representing the principal_subject associated with the identity. As
55
+ # compared to `principal_email`, supports principals that aren't associated with
56
+ # email addresses, such as third party principals. For most identities, the
57
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
58
+ # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
59
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
60
+ # identity pool name`[`subject`]`
61
+ # Corresponds to the JSON property `principalSubject`
62
+ # @return [String]
63
+ attr_accessor :principal_subject
64
+
65
+ # Identity delegation history of an authenticated service account that makes the
66
+ # request. It contains information on the real authorities that try to access
67
+ # GCP resources by delegating on a service account. When multiple authorities
68
+ # are present, they are guaranteed to be sorted based on the original ordering
69
+ # of the identity delegation events.
70
+ # Corresponds to the JSON property `serviceAccountDelegationInfo`
71
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::ServiceAccountDelegationInfo>]
72
+ attr_accessor :service_account_delegation_info
73
+
74
+ # The name of the service account key used to create or exchange credentials for
75
+ # authenticating the service account making the request. This is a scheme-less
76
+ # URI full resource name. For example: "//iam.googleapis.com/projects/`
77
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`"
78
+ # Corresponds to the JSON property `serviceAccountKeyName`
79
+ # @return [String]
80
+ attr_accessor :service_account_key_name
81
+
49
82
  # This is the API service that the service account made a call to, e.g. "iam.
50
83
  # googleapis.com"
51
84
  # Corresponds to the JSON property `serviceName`
@@ -68,6 +101,9 @@ module Google
68
101
  @caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo)
69
102
  @method_name = args[:method_name] if args.key?(:method_name)
70
103
  @principal_email = args[:principal_email] if args.key?(:principal_email)
104
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
105
+ @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
106
+ @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
71
107
  @service_name = args[:service_name] if args.key?(:service_name)
72
108
  @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
73
109
  end
@@ -3224,6 +3260,37 @@ module Google
3224
3260
  end
3225
3261
  end
3226
3262
 
3263
+ # Identity delegation history of an authenticated service account.
3264
+ class ServiceAccountDelegationInfo
3265
+ include Google::Apis::Core::Hashable
3266
+
3267
+ # The email address of a Google account. .
3268
+ # Corresponds to the JSON property `principalEmail`
3269
+ # @return [String]
3270
+ attr_accessor :principal_email
3271
+
3272
+ # A string representing the principal_subject associated with the identity. As
3273
+ # compared to `principal_email`, supports principals that aren't associated with
3274
+ # email addresses, such as third party principals. For most identities, the
3275
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
3276
+ # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
3277
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
3278
+ # identity pool name`[`subject`]`
3279
+ # Corresponds to the JSON property `principalSubject`
3280
+ # @return [String]
3281
+ attr_accessor :principal_subject
3282
+
3283
+ def initialize(**args)
3284
+ update!(**args)
3285
+ end
3286
+
3287
+ # Update properties of this object
3288
+ def update!(**args)
3289
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
3290
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
3291
+ end
3292
+ end
3293
+
3227
3294
  # Request message for updating a finding's state.
3228
3295
  class SetFindingStateRequest
3229
3296
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.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 = "20220720"
25
+ REVISION = "20220728"
26
26
  end
27
27
  end
28
28
  end
@@ -460,6 +460,12 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
+ class ServiceAccountDelegationInfo
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
463
469
  class SetFindingStateRequest
464
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
471
 
@@ -522,6 +528,10 @@ module Google
522
528
 
523
529
  property :method_name, as: 'methodName'
524
530
  property :principal_email, as: 'principalEmail'
531
+ property :principal_subject, as: 'principalSubject'
532
+ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1beta1::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1beta1::ServiceAccountDelegationInfo::Representation
533
+
534
+ property :service_account_key_name, as: 'serviceAccountKeyName'
525
535
  property :service_name, as: 'serviceName'
526
536
  property :user_agent_family, as: 'userAgentFamily'
527
537
  end
@@ -1303,6 +1313,14 @@ module Google
1303
1313
  end
1304
1314
  end
1305
1315
 
1316
+ class ServiceAccountDelegationInfo
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :principal_email, as: 'principalEmail'
1320
+ property :principal_subject, as: 'principalSubject'
1321
+ end
1322
+ end
1323
+
1306
1324
  class SetFindingStateRequest
1307
1325
  # @private
1308
1326
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.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-01 00:00:00.000000000 Z
11
+ date: 2022-08-08 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []