google-apis-servicecontrol_v1 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: da1c74ee2c5e9774b6fb11f1e237c44204a02646a910afdc0db195845dcdc89b
4
- data.tar.gz: 7de723dc803cb84028de462635c185647790d383e5e5c1d6aa5f21540de07ffd
3
+ metadata.gz: 00c95b26e6d214e021822c008d71ddc7a569077e34e4219828c826813c86637b
4
+ data.tar.gz: cfd65cb4603314326a9315c50f4582e17a5367de5e8f606b0d959bec9fdded3a
5
5
  SHA512:
6
- metadata.gz: a119376ec1cea7b3f1e35feb1dc7d4370e68cf4f802809d8e66a44db0d3f7aded5711d1509f2eb93d87a65c1a3266558fc3e48ed741b403d99b11f3a43abaae6
7
- data.tar.gz: 80adea0d0b73118b4f7f88692d0223ee955d3ec8b08108c49d102bfae73e1cd089b029b68be2bb9113c2ed03714baa76180f4c175b76c6c56847e02afa7564cf
6
+ metadata.gz: da6ab47b028f17fb410bdf4ac05a61906531f596b26db5ed4e08b6b792189063d1e36bafb6dbcf4c1430ef00562e5d4566069a8c2b8335be6154f8753f08401f
7
+ data.tar.gz: f18207c6f1714d57f9de73b804a0d91bcf0cacb7fa2dbb4803a5fb1557b729dd1153dd91f082e56675d5c3214e4bfb81734a3473fae47662fa9aa79d92e72212
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicecontrol_v1
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
@@ -428,6 +428,14 @@ module Google
428
428
  # @return [String]
429
429
  attr_accessor :service_account_key_name
430
430
 
431
+ # The history of delegation across multiple services as the result of the
432
+ # original user's action. Such as "service A uses its own account to do
433
+ # something for user B". This differs from ServiceAccountDelegationInfo, which
434
+ # only tracks the history of direct token exchanges (impersonation).
435
+ # Corresponds to the JSON property `serviceDelegationHistory`
436
+ # @return [Google::Apis::ServicecontrolV1::ServiceDelegationHistory]
437
+ attr_accessor :service_delegation_history
438
+
431
439
  # The third party identification (if any) of the authenticated user making the
432
440
  # request. When the JSON object represented here has a proto equivalent, the
433
441
  # proto name will be indicated in the `@type` property.
@@ -446,6 +454,7 @@ module Google
446
454
  @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
447
455
  @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
448
456
  @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
457
+ @service_delegation_history = args[:service_delegation_history] if args.key?(:service_delegation_history)
449
458
  @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
450
459
  end
451
460
  end
@@ -2292,6 +2301,76 @@ module Google
2292
2301
  end
2293
2302
  end
2294
2303
 
2304
+ # The history of delegation across multiple services as the result of the
2305
+ # original user's action. Such as "service A uses its own account to do
2306
+ # something for user B". This differs from ServiceAccountDelegationInfo, which
2307
+ # only tracks the history of direct token exchanges (impersonation).
2308
+ class ServiceDelegationHistory
2309
+ include Google::Apis::Core::Hashable
2310
+
2311
+ # The original end user who initiated the request to GCP.
2312
+ # Corresponds to the JSON property `originalPrincipal`
2313
+ # @return [String]
2314
+ attr_accessor :original_principal
2315
+
2316
+ # Data identifying the service specific jobs or units of work that were involved
2317
+ # in a chain of service calls.
2318
+ # Corresponds to the JSON property `serviceMetadata`
2319
+ # @return [Array<Google::Apis::ServicecontrolV1::ServiceMetadata>]
2320
+ attr_accessor :service_metadata
2321
+
2322
+ def initialize(**args)
2323
+ update!(**args)
2324
+ end
2325
+
2326
+ # Update properties of this object
2327
+ def update!(**args)
2328
+ @original_principal = args[:original_principal] if args.key?(:original_principal)
2329
+ @service_metadata = args[:service_metadata] if args.key?(:service_metadata)
2330
+ end
2331
+ end
2332
+
2333
+ # Metadata describing the service and additional service specific information
2334
+ # used to identify the job or unit of work at hand.
2335
+ class ServiceMetadata
2336
+ include Google::Apis::Core::Hashable
2337
+
2338
+ # Additional metadata provided by service teams to describe service specific job
2339
+ # information that was triggered by the original principal.
2340
+ # Corresponds to the JSON property `jobMetadata`
2341
+ # @return [Hash<String,Object>]
2342
+ attr_accessor :job_metadata
2343
+
2344
+ # A string representing the principal_subject associated with the identity. For
2345
+ # most identities, the format will be `principal://iam.googleapis.com/`identity
2346
+ # pool name`/subject/`subject)` except for some GKE identities (GKE_WORKLOAD,
2347
+ # FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `
2348
+ # serviceAccount:`identity pool name`[`subject`]` If the identity is a Google
2349
+ # account (e.g. workspace user account or service account), this will be the
2350
+ # email of the prefixed by `serviceAccount:`. For example: `serviceAccount:my-
2351
+ # service-account@project-1.iam.gserviceaccount.com`. If the identity is an
2352
+ # individual user, the identity will be formatted as: `user:user_ABC@email.com`.
2353
+ # Corresponds to the JSON property `principalSubject`
2354
+ # @return [String]
2355
+ attr_accessor :principal_subject
2356
+
2357
+ # The service's fully qualified domain name, e.g. "dataproc.googleapis.com".
2358
+ # Corresponds to the JSON property `serviceDomain`
2359
+ # @return [String]
2360
+ attr_accessor :service_domain
2361
+
2362
+ def initialize(**args)
2363
+ update!(**args)
2364
+ end
2365
+
2366
+ # Update properties of this object
2367
+ def update!(**args)
2368
+ @job_metadata = args[:job_metadata] if args.key?(:job_metadata)
2369
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
2370
+ @service_domain = args[:service_domain] if args.key?(:service_domain)
2371
+ end
2372
+ end
2373
+
2295
2374
  # The context of a span. This is attached to an Exemplar in Distribution values
2296
2375
  # during aggregation. It contains the name of a span with format: projects/[
2297
2376
  # PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV1
18
18
  # Version of the google-apis-servicecontrol_v1 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
@@ -286,6 +286,18 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class ServiceDelegationHistory
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ServiceMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class SpanContext
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -442,6 +454,8 @@ module Google
442
454
  collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo::Representation
443
455
 
444
456
  property :service_account_key_name, as: 'serviceAccountKeyName'
457
+ property :service_delegation_history, as: 'serviceDelegationHistory', class: Google::Apis::ServicecontrolV1::ServiceDelegationHistory, decorator: Google::Apis::ServicecontrolV1::ServiceDelegationHistory::Representation
458
+
445
459
  hash :third_party_principal, as: 'thirdPartyPrincipal'
446
460
  end
447
461
  end
@@ -872,6 +886,24 @@ module Google
872
886
  end
873
887
  end
874
888
 
889
+ class ServiceDelegationHistory
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :original_principal, as: 'originalPrincipal'
893
+ collection :service_metadata, as: 'serviceMetadata', class: Google::Apis::ServicecontrolV1::ServiceMetadata, decorator: Google::Apis::ServicecontrolV1::ServiceMetadata::Representation
894
+
895
+ end
896
+ end
897
+
898
+ class ServiceMetadata
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ hash :job_metadata, as: 'jobMetadata'
902
+ property :principal_subject, as: 'principalSubject'
903
+ property :service_domain, as: 'serviceDomain'
904
+ end
905
+ end
906
+
875
907
  class SpanContext
876
908
  # @private
877
909
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v1
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v1
63
63
  post_install_message:
64
64
  rdoc_options: []