google-apis-servicecontrol_v1 0.43.0 → 0.44.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: e54ba52059e8ff4879c28036e3911ea267b0f4855ab04c4bd844fecdfb553862
4
- data.tar.gz: fe6a3c112e6deb7311d4c210d95d66c13c309f06fbb245775109c480c759258c
3
+ metadata.gz: 635de941f5355021c79bc03e8b22d1920fd00d830f0dc0af7f12625b29eceba3
4
+ data.tar.gz: bf7fbf0efc06478fb3f50a132ad5685895c5dc323bede3c9d03b59b4e5a697bd
5
5
  SHA512:
6
- metadata.gz: 4672f35df296b69edfdbef7822c4f3d3715ba648d548c13d454d34a08539db62e7ba5a24d329f94dbb0b1abec8a1f718aebe60c4a1f69d7affd38b30c2299a86
7
- data.tar.gz: 9e4dae3ec037a17f8e416f921887547d6ab6e71b356253bbcdcf3387ab8d6f4fb1c574ef987eb8821149635660c5488b1971e215968e061f1253c4fb8905ffed
6
+ metadata.gz: dc7f7addb009969d6e1e9f7deadd03a205f42c8af9636e8caa4dce81525524739d280d0336c40813718d71030b767aced1187895972351328600bf5027f5d77e
7
+ data.tar.gz: 1e64e781c049c186bbec8a05937c6bcca7bc5adbf075d9d93f5fb21bbe52723a9c1c390357a6c01a001a57fc66e1b4b1c19686522e3abac2e28f113a253d79c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-servicecontrol_v1
2
2
 
3
+ ### v0.44.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250820
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.43.0 (2025-05-11)
4
9
 
5
10
  * Regenerated using generator version 0.17.0
@@ -355,6 +355,11 @@ module Google
355
355
  # @return [Hash<String,Object>]
356
356
  attr_accessor :claims
357
357
 
358
+ # This message defines attributes associated with OAuth credentials.
359
+ # Corresponds to the JSON property `oauth`
360
+ # @return [Google::Apis::ServicecontrolV1::Oauth]
361
+ attr_accessor :oauth
362
+
358
363
  # The authorized presenter of the credential. Reflects the optional Authorized
359
364
  # Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
360
365
  # Google Cloud Platform client id looks as follows: "123456789012.apps.
@@ -380,6 +385,7 @@ module Google
380
385
  @access_levels = args[:access_levels] if args.key?(:access_levels)
381
386
  @audiences = args[:audiences] if args.key?(:audiences)
382
387
  @claims = args[:claims] if args.key?(:claims)
388
+ @oauth = args[:oauth] if args.key?(:oauth)
383
389
  @presenter = args[:presenter] if args.key?(:presenter)
384
390
  @principal = args[:principal] if args.key?(:principal)
385
391
  end
@@ -395,6 +401,20 @@ module Google
395
401
  # @return [String]
396
402
  attr_accessor :authority_selector
397
403
 
404
+ # Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto.
405
+ # This message will be used by security, detection and response team. For
406
+ # context please refer to go/cg:short-lived-credential-logging. When the JSON
407
+ # object represented here has a proto equivalent, the proto name will be
408
+ # indicated in the `@type` property.
409
+ # Corresponds to the JSON property `loggableShortLivedCredential`
410
+ # @return [Hash<String,Object>]
411
+ attr_accessor :loggable_short_lived_credential
412
+
413
+ # OAuth related information about the request.
414
+ # Corresponds to the JSON property `oauthInfo`
415
+ # @return [Google::Apis::ServicecontrolV1::OAuthInfo]
416
+ attr_accessor :oauth_info
417
+
398
418
  # The email address of the authenticated user (or service account on behalf of
399
419
  # third party principal) making the request. For third party identity callers,
400
420
  # the `principal_subject` field is populated instead of this field. For privacy
@@ -450,6 +470,8 @@ module Google
450
470
  # Update properties of this object
451
471
  def update!(**args)
452
472
  @authority_selector = args[:authority_selector] if args.key?(:authority_selector)
473
+ @loggable_short_lived_credential = args[:loggable_short_lived_credential] if args.key?(:loggable_short_lived_credential)
474
+ @oauth_info = args[:oauth_info] if args.key?(:oauth_info)
453
475
  @principal_email = args[:principal_email] if args.key?(:principal_email)
454
476
  @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
455
477
  @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
@@ -569,6 +591,13 @@ module Google
569
591
  # @return [Google::Apis::ServicecontrolV1::ConsumerInfo]
570
592
  attr_accessor :consumer_info
571
593
 
594
+ # Whether or not the api key should be ignored in the credential_id during
595
+ # reporting.
596
+ # Corresponds to the JSON property `ignoreApiKeyUidAsCredentialId`
597
+ # @return [Boolean]
598
+ attr_accessor :ignore_api_key_uid_as_credential_id
599
+ alias_method :ignore_api_key_uid_as_credential_id?, :ignore_api_key_uid_as_credential_id
600
+
572
601
  # A list of fields and label keys that are ignored by the server. The client
573
602
  # doesn't need to send them for following requests to improve performance and
574
603
  # allow better aggregation.
@@ -584,6 +613,7 @@ module Google
584
613
  def update!(**args)
585
614
  @api_key_uid = args[:api_key_uid] if args.key?(:api_key_uid)
586
615
  @consumer_info = args[:consumer_info] if args.key?(:consumer_info)
616
+ @ignore_api_key_uid_as_credential_id = args[:ignore_api_key_uid_as_credential_id] if args.key?(:ignore_api_key_uid_as_credential_id)
587
617
  @unused_arguments = args[:unused_arguments] if args.key?(:unused_arguments)
588
618
  end
589
619
  end
@@ -1411,6 +1441,47 @@ module Google
1411
1441
  end
1412
1442
  end
1413
1443
 
1444
+ # OAuth related information about the request.
1445
+ class OAuthInfo
1446
+ include Google::Apis::Core::Hashable
1447
+
1448
+ # The OAuth client ID of the 1P or 3P application acting on behalf of the user.
1449
+ # Corresponds to the JSON property `oauthClientId`
1450
+ # @return [String]
1451
+ attr_accessor :oauth_client_id
1452
+
1453
+ def initialize(**args)
1454
+ update!(**args)
1455
+ end
1456
+
1457
+ # Update properties of this object
1458
+ def update!(**args)
1459
+ @oauth_client_id = args[:oauth_client_id] if args.key?(:oauth_client_id)
1460
+ end
1461
+ end
1462
+
1463
+ # This message defines attributes associated with OAuth credentials.
1464
+ class Oauth
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ # The optional OAuth client ID. This is the unique public identifier issued by
1468
+ # an authorization server to a registered client application. Empty string is
1469
+ # equivalent to no oauth client id. WARNING: This is for MCP tools/call and
1470
+ # tools/list authorization and not for general use.
1471
+ # Corresponds to the JSON property `clientId`
1472
+ # @return [String]
1473
+ attr_accessor :client_id
1474
+
1475
+ def initialize(**args)
1476
+ update!(**args)
1477
+ end
1478
+
1479
+ # Update properties of this object
1480
+ def update!(**args)
1481
+ @client_id = args[:client_id] if args.key?(:client_id)
1482
+ end
1483
+ end
1484
+
1414
1485
  # Represents information regarding an operation.
1415
1486
  class Operation
1416
1487
  include Google::Apis::Core::Hashable
@@ -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.43.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250411"
25
+ REVISION = "20250820"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,18 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class OAuthInfo
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Oauth
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class Operation
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -446,6 +458,8 @@ module Google
446
458
  collection :access_levels, as: 'accessLevels'
447
459
  collection :audiences, as: 'audiences'
448
460
  hash :claims, as: 'claims'
461
+ property :oauth, as: 'oauth', class: Google::Apis::ServicecontrolV1::Oauth, decorator: Google::Apis::ServicecontrolV1::Oauth::Representation
462
+
449
463
  property :presenter, as: 'presenter'
450
464
  property :principal, as: 'principal'
451
465
  end
@@ -455,6 +469,9 @@ module Google
455
469
  # @private
456
470
  class Representation < Google::Apis::Core::JsonRepresentation
457
471
  property :authority_selector, as: 'authoritySelector'
472
+ hash :loggable_short_lived_credential, as: 'loggableShortLivedCredential'
473
+ property :oauth_info, as: 'oauthInfo', class: Google::Apis::ServicecontrolV1::OAuthInfo, decorator: Google::Apis::ServicecontrolV1::OAuthInfo::Representation
474
+
458
475
  property :principal_email, as: 'principalEmail'
459
476
  property :principal_subject, as: 'principalSubject'
460
477
  collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo::Representation
@@ -495,6 +512,7 @@ module Google
495
512
  property :api_key_uid, as: 'apiKeyUid'
496
513
  property :consumer_info, as: 'consumerInfo', class: Google::Apis::ServicecontrolV1::ConsumerInfo, decorator: Google::Apis::ServicecontrolV1::ConsumerInfo::Representation
497
514
 
515
+ property :ignore_api_key_uid_as_credential_id, as: 'ignoreApiKeyUidAsCredentialId'
498
516
  collection :unused_arguments, as: 'unusedArguments'
499
517
  end
500
518
  end
@@ -692,6 +710,20 @@ module Google
692
710
  end
693
711
  end
694
712
 
713
+ class OAuthInfo
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :oauth_client_id, as: 'oauthClientId'
717
+ end
718
+ end
719
+
720
+ class Oauth
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ property :client_id, as: 'clientId'
724
+ end
725
+ end
726
+
695
727
  class Operation
696
728
  # @private
697
729
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.44.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v1
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.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Service Control API V1
79
79
  test_files: []