google-apis-servicecontrol_v1 0.47.0 → 0.49.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: ecf66068a787cc1da1d2209aa9d26943b0b2db1bb4e93627a519b5a7be2f5168
4
- data.tar.gz: 29252c714faf867b736e10da87614091bddf03f86e0def2c4d1ad6c49f77f071
3
+ metadata.gz: '01186669e4c07aba11ecf71f2c130d35bd22ea94668617fab89ba7746afa4df5'
4
+ data.tar.gz: a36b25a1950c44a1a77aac8806d98f21009a8b4f3f14cd2b1c6786a8f55c4d4a
5
5
  SHA512:
6
- metadata.gz: 9b55bc7a241d3916bb992ed807d899bda0542d73a24692c51bb34d38dc8a1417c774300bf7d489458097079a2c4898df30c3f09dfef6fcfdf22cea14c3fd6f4f
7
- data.tar.gz: dd00a7936735ded4ad5b4121e0a783ec250492685805a105adc86982227d4356271e7c1f1e3a6e02bd805768f0522766479eda0dbe99b2528121b787c9fc79ae
6
+ metadata.gz: feb5eeb76b367d9f11939c8e98f2f2175d059806ec27820533b5b3ad90f57f2faef4f44448b97df77992293e87815a5a5caf96200357a503ba210d1a13892ac2
7
+ data.tar.gz: d9ee2e15fdcb0c1cd4dc6e1ec43b3d6c786f912af7d74e8f277687400762ea2b685681eefe17b0ee7db9c25bf9f358eeb8715e22119a5c77fa16d352aea8c984
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-servicecontrol_v1
2
2
 
3
+ ### v0.49.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260806
6
+
7
+ ### v0.48.0 (2026-06-14)
8
+
9
+ * Regenerated from discovery document revision 20260512
10
+ * Regenerated using generator version 0.19.0
11
+
3
12
  ### v0.47.0 (2026-05-17)
4
13
 
5
14
  * Regenerated from discovery document revision 20260428
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/service-control/) may provi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -323,6 +323,37 @@ module Google
323
323
  end
324
324
  end
325
325
 
326
+ # A composite unique identifier for a PAM Grant which is `Org/Folder/Project
327
+ # identifier, grant Unique Identifier` tuple.
328
+ class AuditPamBindingId
329
+ include Google::Apis::Core::Hashable
330
+
331
+ # Output only. GCP Project/Folder/Organization identifier to which the PAM
332
+ # entitlement/grant is bound to. Container will be in the following form:
333
+ # projects/$project_num or folders/$folder_num or organizations/$org
334
+ # Corresponds to the JSON property `container`
335
+ # @return [String]
336
+ attr_accessor :container
337
+
338
+ # Output only. Represents the unique identifier for the PAM grant.
339
+ # Full_resource_name_pattern for PAM Grant is: //privilegedaccessmanager.
340
+ # googleapis.com/ (projects|folders|organizations)/$0/locations/$1/entitlements/$
341
+ # 2/ grants/$3 where $3 is the grant_uuid.
342
+ # Corresponds to the JSON property `grantUuid`
343
+ # @return [String]
344
+ attr_accessor :grant_uuid
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @container = args[:container] if args.key?(:container)
353
+ @grant_uuid = args[:grant_uuid] if args.key?(:grant_uuid)
354
+ end
355
+ end
356
+
326
357
  # This message defines request authentication attributes. Terminology is based
327
358
  # on the JSON Web Token (JWT) standard, but the terms also correlate to concepts
328
359
  # in other standards.
@@ -364,6 +395,13 @@ module Google
364
395
  # @return [Hash<String,Object>]
365
396
  attr_accessor :claims
366
397
 
398
+ # Identifies the client credential id used for authentication. credential_id is
399
+ # in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:
400
+ # XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
401
+ # Corresponds to the JSON property `credentialId`
402
+ # @return [String]
403
+ attr_accessor :credential_id
404
+
367
405
  # This message defines attributes associated with OAuth credentials.
368
406
  # Corresponds to the JSON property `oauth`
369
407
  # @return [Google::Apis::ServicecontrolV1::Oauth]
@@ -394,6 +432,7 @@ module Google
394
432
  @access_levels = args[:access_levels] if args.key?(:access_levels)
395
433
  @audiences = args[:audiences] if args.key?(:audiences)
396
434
  @claims = args[:claims] if args.key?(:claims)
435
+ @credential_id = args[:credential_id] if args.key?(:credential_id)
397
436
  @oauth = args[:oauth] if args.key?(:oauth)
398
437
  @presenter = args[:presenter] if args.key?(:presenter)
399
438
  @principal = args[:principal] if args.key?(:principal)
@@ -512,6 +551,12 @@ module Google
512
551
  # @return [String]
513
552
  attr_accessor :permission_type
514
553
 
554
+ # Metadata about the Privileged Access Manager (PAM) backed authorization
555
+ # decisions.
556
+ # Corresponds to the JSON property `privilegedAccessManagerMetadata`
557
+ # @return [Google::Apis::ServicecontrolV1::PrivilegedAccessManagerMetadata]
558
+ attr_accessor :privileged_access_manager_metadata
559
+
515
560
  # The resource being accessed, as a REST-style or cloud resource string. For
516
561
  # example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
517
562
  # projects/PROJECTID/datasets/DATASETID
@@ -535,6 +580,7 @@ module Google
535
580
  @granted = args[:granted] if args.key?(:granted)
536
581
  @permission = args[:permission] if args.key?(:permission)
537
582
  @permission_type = args[:permission_type] if args.key?(:permission_type)
583
+ @privileged_access_manager_metadata = args[:privileged_access_manager_metadata] if args.key?(:privileged_access_manager_metadata)
538
584
  @resource = args[:resource] if args.key?(:resource)
539
585
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
540
586
  end
@@ -1713,6 +1759,11 @@ module Google
1713
1759
  # @return [Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo]
1714
1760
  attr_accessor :org_policy_violation_info
1715
1761
 
1762
+ # Represents Regional Access Boundary (RAB) Policy Violation information.
1763
+ # Corresponds to the JSON property `rabPolicyViolationInfo`
1764
+ # @return [Google::Apis::ServicecontrolV1::RabPolicyViolationInfo]
1765
+ attr_accessor :rab_policy_violation_info
1766
+
1716
1767
  def initialize(**args)
1717
1768
  update!(**args)
1718
1769
  end
@@ -1720,6 +1771,31 @@ module Google
1720
1771
  # Update properties of this object
1721
1772
  def update!(**args)
1722
1773
  @org_policy_violation_info = args[:org_policy_violation_info] if args.key?(:org_policy_violation_info)
1774
+ @rab_policy_violation_info = args[:rab_policy_violation_info] if args.key?(:rab_policy_violation_info)
1775
+ end
1776
+ end
1777
+
1778
+ # Metadata about the Privileged Access Manager (PAM) backed authorization
1779
+ # decisions.
1780
+ class PrivilegedAccessManagerMetadata
1781
+ include Google::Apis::Core::Hashable
1782
+
1783
+ # Output only. If PAM is managing the elevated access, AuditPamBindingId is
1784
+ # written to an Identity and Access Management (IAM) policy, which specifies
1785
+ # access controls for resources. If the access is granted via an IAM policy with
1786
+ # a binding which is managed by Privileged Access Manager,
1787
+ # PrivilegedAccessManagerMetadata will contain the AuditPamBindingId.
1788
+ # Corresponds to the JSON property `pamBindingIds`
1789
+ # @return [Array<Google::Apis::ServicecontrolV1::AuditPamBindingId>]
1790
+ attr_accessor :pam_binding_ids
1791
+
1792
+ def initialize(**args)
1793
+ update!(**args)
1794
+ end
1795
+
1796
+ # Update properties of this object
1797
+ def update!(**args)
1798
+ @pam_binding_ids = args[:pam_binding_ids] if args.key?(:pam_binding_ids)
1723
1799
  end
1724
1800
  end
1725
1801
 
@@ -1908,6 +1984,34 @@ module Google
1908
1984
  end
1909
1985
  end
1910
1986
 
1987
+ # Represents Regional Access Boundary (RAB) Policy Violation information.
1988
+ class RabPolicyViolationInfo
1989
+ include Google::Apis::Core::Hashable
1990
+
1991
+ # Optional. Error message detailing what triggered the violation. The error
1992
+ # message content originates from the authz library e.g., google3/cloud/security/
1993
+ # iam/cap/deny_explanation/internal/make_error_msg.cc. This will be the same (
1994
+ # canonical) error message provided by the http error code.
1995
+ # Corresponds to the JSON property `errorMessage`
1996
+ # @return [String]
1997
+ attr_accessor :error_message
1998
+
1999
+ # Optional. The list of target locations of the resource.
2000
+ # Corresponds to the JSON property `resourceLocations`
2001
+ # @return [Array<String>]
2002
+ attr_accessor :resource_locations
2003
+
2004
+ def initialize(**args)
2005
+ update!(**args)
2006
+ end
2007
+
2008
+ # Update properties of this object
2009
+ def update!(**args)
2010
+ @error_message = args[:error_message] if args.key?(:error_message)
2011
+ @resource_locations = args[:resource_locations] if args.key?(:resource_locations)
2012
+ end
2013
+ end
2014
+
1911
2015
  # Represents the processing error of one Operation in the request.
1912
2016
  class ReportError
1913
2017
  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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260428"
25
+ REVISION = "20260806"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class AuditPamBindingId
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Auth
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class PrivilegedAccessManagerMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class QuotaError
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class RabPolicyViolationInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class ReportError
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -453,12 +471,21 @@ module Google
453
471
  end
454
472
  end
455
473
 
474
+ class AuditPamBindingId
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :container, as: 'container'
478
+ property :grant_uuid, as: 'grantUuid'
479
+ end
480
+ end
481
+
456
482
  class Auth
457
483
  # @private
458
484
  class Representation < Google::Apis::Core::JsonRepresentation
459
485
  collection :access_levels, as: 'accessLevels'
460
486
  collection :audiences, as: 'audiences'
461
487
  hash :claims, as: 'claims'
488
+ property :credential_id, as: 'credentialId'
462
489
  property :oauth, as: 'oauth', class: Google::Apis::ServicecontrolV1::Oauth, decorator: Google::Apis::ServicecontrolV1::Oauth::Representation
463
490
 
464
491
  property :presenter, as: 'presenter'
@@ -490,6 +517,8 @@ module Google
490
517
  property :granted, as: 'granted'
491
518
  property :permission, as: 'permission'
492
519
  property :permission_type, as: 'permissionType'
520
+ property :privileged_access_manager_metadata, as: 'privilegedAccessManagerMetadata', class: Google::Apis::ServicecontrolV1::PrivilegedAccessManagerMetadata, decorator: Google::Apis::ServicecontrolV1::PrivilegedAccessManagerMetadata::Representation
521
+
493
522
  property :resource, as: 'resource'
494
523
  property :resource_attributes, as: 'resourceAttributes', class: Google::Apis::ServicecontrolV1::Resource, decorator: Google::Apis::ServicecontrolV1::Resource::Representation
495
524
 
@@ -776,6 +805,16 @@ module Google
776
805
  class Representation < Google::Apis::Core::JsonRepresentation
777
806
  property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo::Representation
778
807
 
808
+ property :rab_policy_violation_info, as: 'rabPolicyViolationInfo', class: Google::Apis::ServicecontrolV1::RabPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::RabPolicyViolationInfo::Representation
809
+
810
+ end
811
+ end
812
+
813
+ class PrivilegedAccessManagerMetadata
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ collection :pam_binding_ids, as: 'pamBindingIds', class: Google::Apis::ServicecontrolV1::AuditPamBindingId, decorator: Google::Apis::ServicecontrolV1::AuditPamBindingId::Representation
817
+
779
818
  end
780
819
  end
781
820
 
@@ -821,6 +860,14 @@ module Google
821
860
  end
822
861
  end
823
862
 
863
+ class RabPolicyViolationInfo
864
+ # @private
865
+ class Representation < Google::Apis::Core::JsonRepresentation
866
+ property :error_message, as: 'errorMessage'
867
+ collection :resource_locations, as: 'resourceLocations'
868
+ end
869
+ end
870
+
824
871
  class ReportError
825
872
  # @private
826
873
  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.47.0
4
+ version: 0.49.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.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.49.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="