google-apis-servicecontrol_v2 0.48.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: a8f04ab3bb9d3757f68dddb6223801c80c9575651be48bcbf063868ac590a420
4
- data.tar.gz: 5903eb832447582a5319b0f8465601a8a60e488209585aaaf7dbc159536eb5d5
3
+ metadata.gz: fff313bd7eb741176fd0a9312a362958fa5ad99f95ae1c2c4c115cb6ac9fb4d3
4
+ data.tar.gz: 1fb5e05cdc4d521c0e53347b322afe277d9683728bc65e167a60bb08fc36d74f
5
5
  SHA512:
6
- metadata.gz: 327ef488d58a3bba4bee80adf401b4c6e4af42655361839f0523bf24d050bcaad5582b394a0e8d799d1d9005f07fe2bc5e1ea6459a34681794e786ca016a5cea
7
- data.tar.gz: a2dca159f293587969bb766987ccffb4d1c2b21bb178d9f112259f36c1bbdda21546639a7f2ee8c3a81c22bbd4b5a3ea5bbac4aa640fa0a28bd70500397e3713
6
+ metadata.gz: f6749f5aaa4b24e388472309fede02cdbee40829fe8845053a30e89a92002defa055e6f7317c48b46320199a7d2fc7fda1b599d5c48f490aa91ae104b527f306
7
+ data.tar.gz: 97e1842925e3ca7e0e0312ea8efb84b51c4ad11b7a47c57204fb7344dd7ba5d6295b5c6ed0492eabaa1ba7b8225fe4d3bcb8cfa7a32372978c49b8b49ef0030a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicecontrol_v2
2
2
 
3
+ ### v0.49.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260806
6
+
3
7
  ### v0.48.0 (2026-06-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20260512
@@ -294,6 +294,37 @@ module Google
294
294
  end
295
295
  end
296
296
 
297
+ # A composite unique identifier for a PAM Grant which is `Org/Folder/Project
298
+ # identifier, grant Unique Identifier` tuple.
299
+ class AuditPamBindingId
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # Output only. GCP Project/Folder/Organization identifier to which the PAM
303
+ # entitlement/grant is bound to. Container will be in the following form:
304
+ # projects/$project_num or folders/$folder_num or organizations/$org
305
+ # Corresponds to the JSON property `container`
306
+ # @return [String]
307
+ attr_accessor :container
308
+
309
+ # Output only. Represents the unique identifier for the PAM grant.
310
+ # Full_resource_name_pattern for PAM Grant is: //privilegedaccessmanager.
311
+ # googleapis.com/ (projects|folders|organizations)/$0/locations/$1/entitlements/$
312
+ # 2/ grants/$3 where $3 is the grant_uuid.
313
+ # Corresponds to the JSON property `grantUuid`
314
+ # @return [String]
315
+ attr_accessor :grant_uuid
316
+
317
+ def initialize(**args)
318
+ update!(**args)
319
+ end
320
+
321
+ # Update properties of this object
322
+ def update!(**args)
323
+ @container = args[:container] if args.key?(:container)
324
+ @grant_uuid = args[:grant_uuid] if args.key?(:grant_uuid)
325
+ end
326
+ end
327
+
297
328
  # This message defines request authentication attributes. Terminology is based
298
329
  # on the JSON Web Token (JWT) standard, but the terms also correlate to concepts
299
330
  # in other standards.
@@ -491,6 +522,12 @@ module Google
491
522
  # @return [String]
492
523
  attr_accessor :permission_type
493
524
 
525
+ # Metadata about the Privileged Access Manager (PAM) backed authorization
526
+ # decisions.
527
+ # Corresponds to the JSON property `privilegedAccessManagerMetadata`
528
+ # @return [Google::Apis::ServicecontrolV2::PrivilegedAccessManagerMetadata]
529
+ attr_accessor :privileged_access_manager_metadata
530
+
494
531
  # The resource being accessed, as a REST-style or cloud resource string. For
495
532
  # example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
496
533
  # projects/PROJECTID/datasets/DATASETID
@@ -514,6 +551,7 @@ module Google
514
551
  @granted = args[:granted] if args.key?(:granted)
515
552
  @permission = args[:permission] if args.key?(:permission)
516
553
  @permission_type = args[:permission_type] if args.key?(:permission_type)
554
+ @privileged_access_manager_metadata = args[:privileged_access_manager_metadata] if args.key?(:privileged_access_manager_metadata)
517
555
  @resource = args[:resource] if args.key?(:resource)
518
556
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
519
557
  end
@@ -772,6 +810,11 @@ module Google
772
810
  # @return [Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo]
773
811
  attr_accessor :org_policy_violation_info
774
812
 
813
+ # Represents Regional Access Boundary (RAB) Policy Violation information.
814
+ # Corresponds to the JSON property `rabPolicyViolationInfo`
815
+ # @return [Google::Apis::ServicecontrolV2::RabPolicyViolationInfo]
816
+ attr_accessor :rab_policy_violation_info
817
+
775
818
  def initialize(**args)
776
819
  update!(**args)
777
820
  end
@@ -779,6 +822,59 @@ module Google
779
822
  # Update properties of this object
780
823
  def update!(**args)
781
824
  @org_policy_violation_info = args[:org_policy_violation_info] if args.key?(:org_policy_violation_info)
825
+ @rab_policy_violation_info = args[:rab_policy_violation_info] if args.key?(:rab_policy_violation_info)
826
+ end
827
+ end
828
+
829
+ # Metadata about the Privileged Access Manager (PAM) backed authorization
830
+ # decisions.
831
+ class PrivilegedAccessManagerMetadata
832
+ include Google::Apis::Core::Hashable
833
+
834
+ # Output only. If PAM is managing the elevated access, AuditPamBindingId is
835
+ # written to an Identity and Access Management (IAM) policy, which specifies
836
+ # access controls for resources. If the access is granted via an IAM policy with
837
+ # a binding which is managed by Privileged Access Manager,
838
+ # PrivilegedAccessManagerMetadata will contain the AuditPamBindingId.
839
+ # Corresponds to the JSON property `pamBindingIds`
840
+ # @return [Array<Google::Apis::ServicecontrolV2::AuditPamBindingId>]
841
+ attr_accessor :pam_binding_ids
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @pam_binding_ids = args[:pam_binding_ids] if args.key?(:pam_binding_ids)
850
+ end
851
+ end
852
+
853
+ # Represents Regional Access Boundary (RAB) Policy Violation information.
854
+ class RabPolicyViolationInfo
855
+ include Google::Apis::Core::Hashable
856
+
857
+ # Optional. Error message detailing what triggered the violation. The error
858
+ # message content originates from the authz library e.g., google3/cloud/security/
859
+ # iam/cap/deny_explanation/internal/make_error_msg.cc. This will be the same (
860
+ # canonical) error message provided by the http error code.
861
+ # Corresponds to the JSON property `errorMessage`
862
+ # @return [String]
863
+ attr_accessor :error_message
864
+
865
+ # Optional. The list of target locations of the resource.
866
+ # Corresponds to the JSON property `resourceLocations`
867
+ # @return [Array<String>]
868
+ attr_accessor :resource_locations
869
+
870
+ def initialize(**args)
871
+ update!(**args)
872
+ end
873
+
874
+ # Update properties of this object
875
+ def update!(**args)
876
+ @error_message = args[:error_message] if args.key?(:error_message)
877
+ @resource_locations = args[:resource_locations] if args.key?(:resource_locations)
782
878
  end
783
879
  end
784
880
 
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260512"
25
+ REVISION = "20260806"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AuditPamBindingId
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Auth
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -106,6 +112,18 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class PrivilegedAccessManagerMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class RabPolicyViolationInfo
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class ReportRequest
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -285,6 +303,14 @@ module Google
285
303
  end
286
304
  end
287
305
 
306
+ class AuditPamBindingId
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :container, as: 'container'
310
+ property :grant_uuid, as: 'grantUuid'
311
+ end
312
+ end
313
+
288
314
  class Auth
289
315
  # @private
290
316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -323,6 +349,8 @@ module Google
323
349
  property :granted, as: 'granted'
324
350
  property :permission, as: 'permission'
325
351
  property :permission_type, as: 'permissionType'
352
+ property :privileged_access_manager_metadata, as: 'privilegedAccessManagerMetadata', class: Google::Apis::ServicecontrolV2::PrivilegedAccessManagerMetadata, decorator: Google::Apis::ServicecontrolV2::PrivilegedAccessManagerMetadata::Representation
353
+
326
354
  property :resource, as: 'resource'
327
355
  property :resource_attributes, as: 'resourceAttributes', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
328
356
 
@@ -400,6 +428,24 @@ module Google
400
428
  class Representation < Google::Apis::Core::JsonRepresentation
401
429
  property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo::Representation
402
430
 
431
+ property :rab_policy_violation_info, as: 'rabPolicyViolationInfo', class: Google::Apis::ServicecontrolV2::RabPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV2::RabPolicyViolationInfo::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class PrivilegedAccessManagerMetadata
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ collection :pam_binding_ids, as: 'pamBindingIds', class: Google::Apis::ServicecontrolV2::AuditPamBindingId, decorator: Google::Apis::ServicecontrolV2::AuditPamBindingId::Representation
440
+
441
+ end
442
+ end
443
+
444
+ class RabPolicyViolationInfo
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :error_message, as: 'errorMessage'
448
+ collection :resource_locations, as: 'resourceLocations'
403
449
  end
404
450
  end
405
451
 
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.48.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.49.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: