google-apis-securitycenter_v1beta2 0.30.0 → 0.31.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: 4d56584050d9e6e610ddf89515a7ea392ef0a30031c1a7e06ca651d98ff2535d
4
- data.tar.gz: a2da7cd0c02dd72446346ee09edb885564869030b2f3a10a9f4a4016b39df71d
3
+ metadata.gz: c73c84748fe0a23446285b35b96017c88461f4510d4ef5e1912788e7d4cc6e1e
4
+ data.tar.gz: 466c1291bbc372919523d541702de16497fedba3eb458ef565c5b86f1a98f182
5
5
  SHA512:
6
- metadata.gz: 8d3d62804cdbe2cd2dc247e0dba968d0809770ca8605134af6d6cf2dd014b1b73efa9267689da92d74a0975731dbbd7386ac0871f88171bd5f0a319623e98777
7
- data.tar.gz: 7e7416ae7eb335644a02ee83cf6bad8e4eff514ad62921bc6495b98a8262099560ec0cbefff5432ccde9c825275f3d8b09f0bd07c3a97292fbef8d81df4e6488
6
+ metadata.gz: d33dd87ec053c1027b4ad4fe89f963d158eca52866f78e9cf39c1eb3159979c1baf342317af6ecbb15944e20825e0507d7f69058a6dec7fc0251ec303e8e8555
7
+ data.tar.gz: 7b2e935a5311ae91708cc30c99c3bee9ebd60da873710cf351a8a7b8001f7364f68b6b52312517c130cf4f9a62b467365762d92e13f1c3124f0cf00ee7977f55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.31.0 (2022-08-02)
4
+
5
+ * Regenerated from discovery document revision 20220728
6
+
3
7
  ### v0.30.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::SecuritycenterV1beta2::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
@@ -2397,6 +2433,37 @@ module Google
2397
2433
  end
2398
2434
  end
2399
2435
 
2436
+ # Identity delegation history of an authenticated service account.
2437
+ class ServiceAccountDelegationInfo
2438
+ include Google::Apis::Core::Hashable
2439
+
2440
+ # The email address of a Google account. .
2441
+ # Corresponds to the JSON property `principalEmail`
2442
+ # @return [String]
2443
+ attr_accessor :principal_email
2444
+
2445
+ # A string representing the principal_subject associated with the identity. As
2446
+ # compared to `principal_email`, supports principals that aren't associated with
2447
+ # email addresses, such as third party principals. For most identities, the
2448
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
2449
+ # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
2450
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
2451
+ # identity pool name`[`subject`]`
2452
+ # Corresponds to the JSON property `principalSubject`
2453
+ # @return [String]
2454
+ attr_accessor :principal_subject
2455
+
2456
+ def initialize(**args)
2457
+ update!(**args)
2458
+ end
2459
+
2460
+ # Update properties of this object
2461
+ def update!(**args)
2462
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
2463
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
2464
+ end
2465
+ end
2466
+
2400
2467
  # Represents a Kubernetes Subject.
2401
2468
  class Subject
2402
2469
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.31.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
@@ -346,6 +346,12 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class ServiceAccountDelegationInfo
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
349
355
  class Subject
350
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
357
 
@@ -390,6 +396,10 @@ module Google
390
396
 
391
397
  property :method_name, as: 'methodName'
392
398
  property :principal_email, as: 'principalEmail'
399
+ property :principal_subject, as: 'principalSubject'
400
+ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo::Representation
401
+
402
+ property :service_account_key_name, as: 'serviceAccountKeyName'
393
403
  property :service_name, as: 'serviceName'
394
404
  property :user_agent_family, as: 'userAgentFamily'
395
405
  end
@@ -990,6 +1000,14 @@ module Google
990
1000
  end
991
1001
  end
992
1002
 
1003
+ class ServiceAccountDelegationInfo
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ property :principal_email, as: 'principalEmail'
1007
+ property :principal_subject, as: 'principalSubject'
1008
+ end
1009
+ end
1010
+
993
1011
  class Subject
994
1012
  # @private
995
1013
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []