google-apis-servicecontrol_v1 0.29.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4287bfef7cf9619163e44b346b2e8b1576c1cd799303afd5ac3bb1d34a0061bd
|
4
|
+
data.tar.gz: 60d299eaab5cc9008af46d31491aaa0525926d602609a07558b1eaf8a71beae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac952b574ce88bd06660b7a37d95a4fc0d298b2718ce598ea1df1f6a8e540a60e231c1a47682a1e056d4620165a5b34aeaf8a9a003868b82205f365baf4d8d0f
|
7
|
+
data.tar.gz: 10880afa352574ab35fc26abcce821df887c4ed8a988d8dc09dafed542929257884a58ec42f83411d05c4e9e47e604712760a0968b5265f26397e1acadc24514
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicecontrol_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.13.0
|
6
|
+
|
7
|
+
### v0.30.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230728
|
10
|
+
|
3
11
|
### v0.29.0 (2023-03-26)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/service-control/
|
35
35
|
class ServiceControlService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://servicecontrol.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-servicecontrol_v1',
|
49
51
|
client_version: Google::Apis::ServicecontrolV1::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
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.
|
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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.31.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Control API V1
|