google-apis-servicecontrol_v2 0.29.0 → 0.30.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: b8fc0754d80adafe1a6eed07598f992a2d492bb7821483dcb533f651b30c03f0
4
- data.tar.gz: 40ea800d9cce455a6dacb3d23c6e54b182dca9a68f6522f78e5e6dd164dcb14d
3
+ metadata.gz: 8089870d089a72eb35cdef3e07a95f47d7989c923b07bd563152dc8b591bfe82
4
+ data.tar.gz: a3322e2710ff93a366198c84d391598a7cd1a3424e4ba91028994ef9389b7626
5
5
  SHA512:
6
- metadata.gz: 6073e03d14d8a3f8629d4a93d8077b5636b98ac3ab423a8dee7ded81cd5cf0e7e85c0b36b4a9a1211ac2edda3637a65952e164d597aa00f0a0fb3ee5db563ad6
7
- data.tar.gz: 219c9dd9493d2ef8133af069e139b6fbde17053f8ac4ac0780937029417f0af11c30a438f1bbd7f623579e53b2725317bfc5e4b36c87a68ad06461ff31796bdb
6
+ metadata.gz: e7bdeb2fe8416bb87966ed9a5c07d8ed17ed85de92fbc77f4043ed3b4da5f68542fb58353cfd7effc3b9e0721fe96ff23faf5e96d9e2951f52f11a0db74538ce
7
+ data.tar.gz: fdc8498d907e0d83af08d8c7bdfbd1eeb0c4312e26d2d494ae31db066cbce0c34e10dca41bec1bec1f2d1c174cd1f33800c6dbb2d5a80d398092c59224042846
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicecontrol_v2
2
2
 
3
+ ### v0.30.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230728
6
+
3
7
  ### v0.29.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230317
@@ -399,6 +399,14 @@ module Google
399
399
  # @return [String]
400
400
  attr_accessor :service_account_key_name
401
401
 
402
+ # The history of delegation across multiple services as the result of the
403
+ # original user's action. Such as "service A uses its own account to do
404
+ # something for user B". This differs from ServiceAccountDelegationInfo, which
405
+ # only tracks the history of direct token exchanges (impersonation).
406
+ # Corresponds to the JSON property `serviceDelegationHistory`
407
+ # @return [Google::Apis::ServicecontrolV2::ServiceDelegationHistory]
408
+ attr_accessor :service_delegation_history
409
+
402
410
  # The third party identification (if any) of the authenticated user making the
403
411
  # request. When the JSON object represented here has a proto equivalent, the
404
412
  # proto name will be indicated in the `@type` property.
@@ -417,6 +425,7 @@ module Google
417
425
  @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
418
426
  @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
419
427
  @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
428
+ @service_delegation_history = args[:service_delegation_history] if args.key?(:service_delegation_history)
420
429
  @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
421
430
  end
422
431
  end
@@ -1171,6 +1180,76 @@ module Google
1171
1180
  end
1172
1181
  end
1173
1182
 
1183
+ # The history of delegation across multiple services as the result of the
1184
+ # original user's action. Such as "service A uses its own account to do
1185
+ # something for user B". This differs from ServiceAccountDelegationInfo, which
1186
+ # only tracks the history of direct token exchanges (impersonation).
1187
+ class ServiceDelegationHistory
1188
+ include Google::Apis::Core::Hashable
1189
+
1190
+ # The original end user who initiated the request to GCP.
1191
+ # Corresponds to the JSON property `originalPrincipal`
1192
+ # @return [String]
1193
+ attr_accessor :original_principal
1194
+
1195
+ # Data identifying the service specific jobs or units of work that were involved
1196
+ # in a chain of service calls.
1197
+ # Corresponds to the JSON property `serviceMetadata`
1198
+ # @return [Array<Google::Apis::ServicecontrolV2::ServiceMetadata>]
1199
+ attr_accessor :service_metadata
1200
+
1201
+ def initialize(**args)
1202
+ update!(**args)
1203
+ end
1204
+
1205
+ # Update properties of this object
1206
+ def update!(**args)
1207
+ @original_principal = args[:original_principal] if args.key?(:original_principal)
1208
+ @service_metadata = args[:service_metadata] if args.key?(:service_metadata)
1209
+ end
1210
+ end
1211
+
1212
+ # Metadata describing the service and additional service specific information
1213
+ # used to identify the job or unit of work at hand.
1214
+ class ServiceMetadata
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ # Additional metadata provided by service teams to describe service specific job
1218
+ # information that was triggered by the original principal.
1219
+ # Corresponds to the JSON property `jobMetadata`
1220
+ # @return [Hash<String,Object>]
1221
+ attr_accessor :job_metadata
1222
+
1223
+ # A string representing the principal_subject associated with the identity. For
1224
+ # most identities, the format will be `principal://iam.googleapis.com/`identity
1225
+ # pool name`/subject/`subject)` except for some GKE identities (GKE_WORKLOAD,
1226
+ # FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `
1227
+ # serviceAccount:`identity pool name`[`subject`]` If the identity is a Google
1228
+ # account (e.g. workspace user account or service account), this will be the
1229
+ # email of the prefixed by `serviceAccount:`. For example: `serviceAccount:my-
1230
+ # service-account@project-1.iam.gserviceaccount.com`. If the identity is an
1231
+ # individual user, the identity will be formatted as: `user:user_ABC@email.com`.
1232
+ # Corresponds to the JSON property `principalSubject`
1233
+ # @return [String]
1234
+ attr_accessor :principal_subject
1235
+
1236
+ # The service's fully qualified domain name, e.g. "dataproc.googleapis.com".
1237
+ # Corresponds to the JSON property `serviceDomain`
1238
+ # @return [String]
1239
+ attr_accessor :service_domain
1240
+
1241
+ def initialize(**args)
1242
+ update!(**args)
1243
+ end
1244
+
1245
+ # Update properties of this object
1246
+ def update!(**args)
1247
+ @job_metadata = args[:job_metadata] if args.key?(:job_metadata)
1248
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
1249
+ @service_domain = args[:service_domain] if args.key?(:service_domain)
1250
+ end
1251
+ end
1252
+
1174
1253
  # The context of a span. This is attached to an Exemplar in Distribution values
1175
1254
  # during aggregation. It contains the name of a span with format: projects/[
1176
1255
  # PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV2
18
18
  # Version of the google-apis-servicecontrol_v2 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230317"
25
+ REVISION = "20230728"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,18 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ServiceDelegationHistory
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ServiceMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class SpanContext
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
@@ -274,6 +286,8 @@ module Google
274
286
  collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo::Representation
275
287
 
276
288
  property :service_account_key_name, as: 'serviceAccountKeyName'
289
+ property :service_delegation_history, as: 'serviceDelegationHistory', class: Google::Apis::ServicecontrolV2::ServiceDelegationHistory, decorator: Google::Apis::ServicecontrolV2::ServiceDelegationHistory::Representation
290
+
277
291
  hash :third_party_principal, as: 'thirdPartyPrincipal'
278
292
  end
279
293
  end
@@ -454,6 +468,24 @@ module Google
454
468
  end
455
469
  end
456
470
 
471
+ class ServiceDelegationHistory
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :original_principal, as: 'originalPrincipal'
475
+ collection :service_metadata, as: 'serviceMetadata', class: Google::Apis::ServicecontrolV2::ServiceMetadata, decorator: Google::Apis::ServicecontrolV2::ServiceMetadata::Representation
476
+
477
+ end
478
+ end
479
+
480
+ class ServiceMetadata
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ hash :job_metadata, as: 'jobMetadata'
484
+ property :principal_subject, as: 'principalSubject'
485
+ property :service_domain, as: 'serviceDomain'
486
+ end
487
+ end
488
+
457
489
  class SpanContext
458
490
  # @private
459
491
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.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-03-26 00:00:00.000000000 Z
11
+ date: 2023-08-06 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-servicecontrol_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v2
63
63
  post_install_message:
64
64
  rdoc_options: []