google-apis-servicecontrol_v2 0.44.0 → 0.45.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: 2788ba9d845915bca79fa65e485b748f1cb4b9a6dd8c03ed655919f449a47d5b
|
4
|
+
data.tar.gz: 0fd37298b8a1ab00d53ec842a9b15d6d4cbc30878bd030c2a680adc2ed4858fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 925795e23472cb0a9b93808ab086956c5f0aba1a68e081775b367fb6e55006f9f8c6bb12494fb76ef622482180d74704df811a00d4687c4549880b6bc8f87560
|
7
|
+
data.tar.gz: 7f332ea95edf0ae1c21289d2a35d4188fd5170aa77e121355f13494c62971bcfce9e7aa994452f5e77951d0a629128bd2ca6a2537349dec8843407309af232bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-servicecontrol_v2
|
2
2
|
|
3
|
+
### v0.45.0 (2025-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250820
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
3
8
|
### v0.44.0 (2025-05-04)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250425
|
@@ -326,6 +326,11 @@ module Google
|
|
326
326
|
# @return [Hash<String,Object>]
|
327
327
|
attr_accessor :claims
|
328
328
|
|
329
|
+
# This message defines attributes associated with OAuth credentials.
|
330
|
+
# Corresponds to the JSON property `oauth`
|
331
|
+
# @return [Google::Apis::ServicecontrolV2::Oauth]
|
332
|
+
attr_accessor :oauth
|
333
|
+
|
329
334
|
# The authorized presenter of the credential. Reflects the optional Authorized
|
330
335
|
# Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
|
331
336
|
# Google Cloud Platform client id looks as follows: "123456789012.apps.
|
@@ -351,6 +356,7 @@ module Google
|
|
351
356
|
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
352
357
|
@audiences = args[:audiences] if args.key?(:audiences)
|
353
358
|
@claims = args[:claims] if args.key?(:claims)
|
359
|
+
@oauth = args[:oauth] if args.key?(:oauth)
|
354
360
|
@presenter = args[:presenter] if args.key?(:presenter)
|
355
361
|
@principal = args[:principal] if args.key?(:principal)
|
356
362
|
end
|
@@ -366,6 +372,20 @@ module Google
|
|
366
372
|
# @return [String]
|
367
373
|
attr_accessor :authority_selector
|
368
374
|
|
375
|
+
# Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto.
|
376
|
+
# This message will be used by security, detection and response team. For
|
377
|
+
# context please refer to go/cg:short-lived-credential-logging. When the JSON
|
378
|
+
# object represented here has a proto equivalent, the proto name will be
|
379
|
+
# indicated in the `@type` property.
|
380
|
+
# Corresponds to the JSON property `loggableShortLivedCredential`
|
381
|
+
# @return [Hash<String,Object>]
|
382
|
+
attr_accessor :loggable_short_lived_credential
|
383
|
+
|
384
|
+
# OAuth related information about the request.
|
385
|
+
# Corresponds to the JSON property `oauthInfo`
|
386
|
+
# @return [Google::Apis::ServicecontrolV2::OAuthInfo]
|
387
|
+
attr_accessor :oauth_info
|
388
|
+
|
369
389
|
# The email address of the authenticated user (or service account on behalf of
|
370
390
|
# third party principal) making the request. For third party identity callers,
|
371
391
|
# the `principal_subject` field is populated instead of this field. For privacy
|
@@ -421,6 +441,8 @@ module Google
|
|
421
441
|
# Update properties of this object
|
422
442
|
def update!(**args)
|
423
443
|
@authority_selector = args[:authority_selector] if args.key?(:authority_selector)
|
444
|
+
@loggable_short_lived_credential = args[:loggable_short_lived_credential] if args.key?(:loggable_short_lived_credential)
|
445
|
+
@oauth_info = args[:oauth_info] if args.key?(:oauth_info)
|
424
446
|
@principal_email = args[:principal_email] if args.key?(:principal_email)
|
425
447
|
@principal_subject = args[:principal_subject] if args.key?(:principal_subject)
|
426
448
|
@service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
|
@@ -592,6 +614,47 @@ module Google
|
|
592
614
|
end
|
593
615
|
end
|
594
616
|
|
617
|
+
# OAuth related information about the request.
|
618
|
+
class OAuthInfo
|
619
|
+
include Google::Apis::Core::Hashable
|
620
|
+
|
621
|
+
# The OAuth client ID of the 1P or 3P application acting on behalf of the user.
|
622
|
+
# Corresponds to the JSON property `oauthClientId`
|
623
|
+
# @return [String]
|
624
|
+
attr_accessor :oauth_client_id
|
625
|
+
|
626
|
+
def initialize(**args)
|
627
|
+
update!(**args)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Update properties of this object
|
631
|
+
def update!(**args)
|
632
|
+
@oauth_client_id = args[:oauth_client_id] if args.key?(:oauth_client_id)
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# This message defines attributes associated with OAuth credentials.
|
637
|
+
class Oauth
|
638
|
+
include Google::Apis::Core::Hashable
|
639
|
+
|
640
|
+
# The optional OAuth client ID. This is the unique public identifier issued by
|
641
|
+
# an authorization server to a registered client application. Empty string is
|
642
|
+
# equivalent to no oauth client id. WARNING: This is for MCP tools/call and
|
643
|
+
# tools/list authorization and not for general use.
|
644
|
+
# Corresponds to the JSON property `clientId`
|
645
|
+
# @return [String]
|
646
|
+
attr_accessor :client_id
|
647
|
+
|
648
|
+
def initialize(**args)
|
649
|
+
update!(**args)
|
650
|
+
end
|
651
|
+
|
652
|
+
# Update properties of this object
|
653
|
+
def update!(**args)
|
654
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
595
658
|
# Represents OrgPolicy Violation information.
|
596
659
|
class OrgPolicyViolationInfo
|
597
660
|
include Google::Apis::Core::Hashable
|
@@ -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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,18 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class OAuthInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Oauth
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
79
91
|
class OrgPolicyViolationInfo
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
@@ -278,6 +290,8 @@ module Google
|
|
278
290
|
collection :access_levels, as: 'accessLevels'
|
279
291
|
collection :audiences, as: 'audiences'
|
280
292
|
hash :claims, as: 'claims'
|
293
|
+
property :oauth, as: 'oauth', class: Google::Apis::ServicecontrolV2::Oauth, decorator: Google::Apis::ServicecontrolV2::Oauth::Representation
|
294
|
+
|
281
295
|
property :presenter, as: 'presenter'
|
282
296
|
property :principal, as: 'principal'
|
283
297
|
end
|
@@ -287,6 +301,9 @@ module Google
|
|
287
301
|
# @private
|
288
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
289
303
|
property :authority_selector, as: 'authoritySelector'
|
304
|
+
hash :loggable_short_lived_credential, as: 'loggableShortLivedCredential'
|
305
|
+
property :oauth_info, as: 'oauthInfo', class: Google::Apis::ServicecontrolV2::OAuthInfo, decorator: Google::Apis::ServicecontrolV2::OAuthInfo::Representation
|
306
|
+
|
290
307
|
property :principal_email, as: 'principalEmail'
|
291
308
|
property :principal_subject, as: 'principalSubject'
|
292
309
|
collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo::Representation
|
@@ -340,6 +357,20 @@ module Google
|
|
340
357
|
end
|
341
358
|
end
|
342
359
|
|
360
|
+
class OAuthInfo
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
property :oauth_client_id, as: 'oauthClientId'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
class Oauth
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
property :client_id, as: 'clientId'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
343
374
|
class OrgPolicyViolationInfo
|
344
375
|
# @private
|
345
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -106,12 +106,11 @@ module Google
|
|
106
106
|
# reports a list of operations that have occurred on a service. It must be
|
107
107
|
# called after the operations have been executed. For more information, see [
|
108
108
|
# Telemetry Reporting](https://cloud.google.com/service-infrastructure/docs/
|
109
|
-
# telemetry-reporting). NOTE: The telemetry reporting has a hard limit of
|
110
|
-
# operations and 1MB per Report call.
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# infrastructure/docs/service-control/access-control).
|
109
|
+
# telemetry-reporting). NOTE: The telemetry reporting has a hard limit of 100
|
110
|
+
# operations and 1MB per Report call. This method requires the `
|
111
|
+
# servicemanagement.services.report` permission on the specified service. For
|
112
|
+
# more information, see [Service Control API Access Control](https://cloud.
|
113
|
+
# google.com/service-infrastructure/docs/service-control/access-control).
|
115
114
|
# @param [String] service_name
|
116
115
|
# The service name as specified in its service configuration. For example, `"
|
117
116
|
# pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.45.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Service Control API V2
|
79
79
|
test_files: []
|