google-apis-servicecontrol_v2 0.29.0 → 0.31.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e52b284d2773943231c307ac1276f1734a8b77895df138c4c0dac9c25440a872
|
4
|
+
data.tar.gz: 51715af25b870c63738239c578bd0ae0d3ea1b3b0bcda34ff28b5b5837e7e775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8b2d38e619e51b5b2ff2338d7c5a87f52be357deefc8976317dcd336b2e9d3bcec62da1be3fa498a3cf25312cc4ff9e3d623476dac4d29a2b3446adcf85cfa
|
7
|
+
data.tar.gz: d33987e9b408f517f7da08c6078c4b669c2385dc9bb4e84c5a98fc5fe5c20b1399a589585f555d1ed948a46c86a66d628a5d06e18a40894a5c842707b66f6b08
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicecontrol_v2
|
2
2
|
|
3
|
+
### v0.31.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230805
|
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
|
@@ -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
|
@@ -708,8 +717,7 @@ module Google
|
|
708
717
|
end
|
709
718
|
end
|
710
719
|
|
711
|
-
# Response message for the Report method.
|
712
|
-
# data, the server returns an RPC error.
|
720
|
+
# Response message for the Report method.
|
713
721
|
class ReportResponse
|
714
722
|
include Google::Apis::Core::Hashable
|
715
723
|
|
@@ -1012,15 +1020,15 @@ module Google
|
|
1012
1020
|
|
1013
1021
|
# Optional. The identifier of the container of this resource. For Google Cloud
|
1014
1022
|
# APIs, the resource container must be one of the following formats: - `projects/
|
1015
|
-
# ` - `folders/` - `organizations/`
|
1016
|
-
# level (VPCSC
|
1017
|
-
# container extracted from name when presents.
|
1023
|
+
# ` - `folders/` - `organizations/` Required for the policy enforcement on the
|
1024
|
+
# container level (e.g. VPCSC, Location Policy check, Org Policy check).
|
1018
1025
|
# Corresponds to the JSON property `container`
|
1019
1026
|
# @return [String]
|
1020
1027
|
attr_accessor :container
|
1021
1028
|
|
1022
|
-
# Optional. The location of the resource
|
1023
|
-
#
|
1029
|
+
# Optional. The location of the resource, it must be a valid zone, region or
|
1030
|
+
# multiregion, for example: "europe-west4", "northamerica-northeast1-a".
|
1031
|
+
# Required for location policy check.
|
1024
1032
|
# Corresponds to the JSON property `location`
|
1025
1033
|
# @return [String]
|
1026
1034
|
attr_accessor :location
|
@@ -1171,6 +1179,76 @@ module Google
|
|
1171
1179
|
end
|
1172
1180
|
end
|
1173
1181
|
|
1182
|
+
# The history of delegation across multiple services as the result of the
|
1183
|
+
# original user's action. Such as "service A uses its own account to do
|
1184
|
+
# something for user B". This differs from ServiceAccountDelegationInfo, which
|
1185
|
+
# only tracks the history of direct token exchanges (impersonation).
|
1186
|
+
class ServiceDelegationHistory
|
1187
|
+
include Google::Apis::Core::Hashable
|
1188
|
+
|
1189
|
+
# The original end user who initiated the request to GCP.
|
1190
|
+
# Corresponds to the JSON property `originalPrincipal`
|
1191
|
+
# @return [String]
|
1192
|
+
attr_accessor :original_principal
|
1193
|
+
|
1194
|
+
# Data identifying the service specific jobs or units of work that were involved
|
1195
|
+
# in a chain of service calls.
|
1196
|
+
# Corresponds to the JSON property `serviceMetadata`
|
1197
|
+
# @return [Array<Google::Apis::ServicecontrolV2::ServiceMetadata>]
|
1198
|
+
attr_accessor :service_metadata
|
1199
|
+
|
1200
|
+
def initialize(**args)
|
1201
|
+
update!(**args)
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# Update properties of this object
|
1205
|
+
def update!(**args)
|
1206
|
+
@original_principal = args[:original_principal] if args.key?(:original_principal)
|
1207
|
+
@service_metadata = args[:service_metadata] if args.key?(:service_metadata)
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Metadata describing the service and additional service specific information
|
1212
|
+
# used to identify the job or unit of work at hand.
|
1213
|
+
class ServiceMetadata
|
1214
|
+
include Google::Apis::Core::Hashable
|
1215
|
+
|
1216
|
+
# Additional metadata provided by service teams to describe service specific job
|
1217
|
+
# information that was triggered by the original principal.
|
1218
|
+
# Corresponds to the JSON property `jobMetadata`
|
1219
|
+
# @return [Hash<String,Object>]
|
1220
|
+
attr_accessor :job_metadata
|
1221
|
+
|
1222
|
+
# A string representing the principal_subject associated with the identity. For
|
1223
|
+
# most identities, the format will be `principal://iam.googleapis.com/`identity
|
1224
|
+
# pool name`/subject/`subject)` except for some GKE identities (GKE_WORKLOAD,
|
1225
|
+
# FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `
|
1226
|
+
# serviceAccount:`identity pool name`[`subject`]` If the identity is a Google
|
1227
|
+
# account (e.g. workspace user account or service account), this will be the
|
1228
|
+
# email of the prefixed by `serviceAccount:`. For example: `serviceAccount:my-
|
1229
|
+
# service-account@project-1.iam.gserviceaccount.com`. If the identity is an
|
1230
|
+
# individual user, the identity will be formatted as: `user:user_ABC@email.com`.
|
1231
|
+
# Corresponds to the JSON property `principalSubject`
|
1232
|
+
# @return [String]
|
1233
|
+
attr_accessor :principal_subject
|
1234
|
+
|
1235
|
+
# The service's fully qualified domain name, e.g. "dataproc.googleapis.com".
|
1236
|
+
# Corresponds to the JSON property `serviceDomain`
|
1237
|
+
# @return [String]
|
1238
|
+
attr_accessor :service_domain
|
1239
|
+
|
1240
|
+
def initialize(**args)
|
1241
|
+
update!(**args)
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# Update properties of this object
|
1245
|
+
def update!(**args)
|
1246
|
+
@job_metadata = args[:job_metadata] if args.key?(:job_metadata)
|
1247
|
+
@principal_subject = args[:principal_subject] if args.key?(:principal_subject)
|
1248
|
+
@service_domain = args[:service_domain] if args.key?(:service_domain)
|
1249
|
+
end
|
1250
|
+
end
|
1251
|
+
|
1174
1252
|
# The context of a span. This is attached to an Exemplar in Distribution values
|
1175
1253
|
# during aggregation. It contains the name of a span with format: projects/[
|
1176
1254
|
# 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.
|
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.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230805"
|
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.
|
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: 2023-
|
11
|
+
date: 2023-08-13 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.31.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: []
|