google-apis-securitycenter_v1 0.37.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: badc50bc3f28eb74d098e05c55fa649bea108cc637495ac6846e555cbe8ea77b
4
- data.tar.gz: daa8c33e4c4114ea6c207686f0d1da622c2fbaa748833da3463783528adf65dd
3
+ metadata.gz: 3521814e5d9bd424dab2b96c70aa05df203d1da5d30d108e0e8af019cd9f7037
4
+ data.tar.gz: 1be423f96ab440c4f28d3b2bc6ea4b12539fde2a57024292944270bb5438c37f
5
5
  SHA512:
6
- metadata.gz: 3c5189abff6f8b7026e975876a15267e364c68a7e36577e0418679bc7a10aa8de63d7d8cd860e05af741339a3ea64e98fcb0892c48c186d10e06bae14f37617a
7
- data.tar.gz: 4bfa1777bce606fb5e16469c8f465bdc72e55d2fc0591ef61a40c565c83b23801ec8806a87fe02e5d7632ab20faadd5f2ca6bc401ac13da6aed88a25039953f7
6
+ metadata.gz: df4e68120823bac056a399cba5a2450ccedfc694f890c03bb4eab1dbef45e0b42022d5aaab52ea423f766c22af961011f47ab8247ed26c1d5d3d147299510d4b
7
+ data.tar.gz: 83c176841ae442563a0340909c2357f570aff12eef8d104977172549b673c12b7bdff16aab363c0ada755bea4b964e52a297408ff75b40b3083711f34656ccdc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.38.0 (2022-08-02)
4
+
5
+ * Regenerated from discovery document revision 20220728
6
+
3
7
  ### v0.37.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::SecuritycenterV1::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
@@ -3492,6 +3528,37 @@ module Google
3492
3528
  end
3493
3529
  end
3494
3530
 
3531
+ # Identity delegation history of an authenticated service account.
3532
+ class ServiceAccountDelegationInfo
3533
+ include Google::Apis::Core::Hashable
3534
+
3535
+ # The email address of a Google account. .
3536
+ # Corresponds to the JSON property `principalEmail`
3537
+ # @return [String]
3538
+ attr_accessor :principal_email
3539
+
3540
+ # A string representing the principal_subject associated with the identity. As
3541
+ # compared to `principal_email`, supports principals that aren't associated with
3542
+ # email addresses, such as third party principals. For most identities, the
3543
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
3544
+ # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
3545
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
3546
+ # identity pool name`[`subject`]`
3547
+ # Corresponds to the JSON property `principalSubject`
3548
+ # @return [String]
3549
+ attr_accessor :principal_subject
3550
+
3551
+ def initialize(**args)
3552
+ update!(**args)
3553
+ end
3554
+
3555
+ # Update properties of this object
3556
+ def update!(**args)
3557
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
3558
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
3559
+ end
3560
+ end
3561
+
3495
3562
  # Request message for updating a finding's state.
3496
3563
  class SetFindingStateRequest
3497
3564
  include Google::Apis::Core::Hashable
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.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
@@ -490,6 +490,12 @@ module Google
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
+ class ServiceAccountDelegationInfo
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
493
499
  class SetFindingStateRequest
494
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
501
 
@@ -564,6 +570,10 @@ module Google
564
570
 
565
571
  property :method_name, as: 'methodName'
566
572
  property :principal_email, as: 'principalEmail'
573
+ property :principal_subject, as: 'principalSubject'
574
+ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo::Representation
575
+
576
+ property :service_account_key_name, as: 'serviceAccountKeyName'
567
577
  property :service_name, as: 'serviceName'
568
578
  property :user_agent_family, as: 'userAgentFamily'
569
579
  end
@@ -1406,6 +1416,14 @@ module Google
1406
1416
  end
1407
1417
  end
1408
1418
 
1419
+ class ServiceAccountDelegationInfo
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ property :principal_email, as: 'principalEmail'
1423
+ property :principal_subject, as: 'principalSubject'
1424
+ end
1425
+ end
1426
+
1409
1427
  class SetFindingStateRequest
1410
1428
  # @private
1411
1429
  class Representation < Google::Apis::Core::JsonRepresentation
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.37.0
4
+ version: 0.38.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.38.0
62
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: []