google-apis-servicecontrol_v2 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fff313bd7eb741176fd0a9312a362958fa5ad99f95ae1c2c4c115cb6ac9fb4d3
|
|
4
|
+
data.tar.gz: 1fb5e05cdc4d521c0e53347b322afe277d9683728bc65e167a60bb08fc36d74f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6749f5aaa4b24e388472309fede02cdbee40829fe8845053a30e89a92002defa055e6f7317c48b46320199a7d2fc7fda1b599d5c48f490aa91ae104b527f306
|
|
7
|
+
data.tar.gz: 97e1842925e3ca7e0e0312ea8efb84b51c4ad11b7a47c57204fb7344dd7ba5d6295b5c6ed0492eabaa1ba7b8225fe4d3bcb8cfa7a32372978c49b8b49ef0030a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
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-10)
|
|
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.
|
|
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
|
|
|
@@ -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.
|
|
@@ -335,6 +366,13 @@ module Google
|
|
|
335
366
|
# @return [Hash<String,Object>]
|
|
336
367
|
attr_accessor :claims
|
|
337
368
|
|
|
369
|
+
# Identifies the client credential id used for authentication. credential_id is
|
|
370
|
+
# in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:
|
|
371
|
+
# XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
372
|
+
# Corresponds to the JSON property `credentialId`
|
|
373
|
+
# @return [String]
|
|
374
|
+
attr_accessor :credential_id
|
|
375
|
+
|
|
338
376
|
# This message defines attributes associated with OAuth credentials.
|
|
339
377
|
# Corresponds to the JSON property `oauth`
|
|
340
378
|
# @return [Google::Apis::ServicecontrolV2::Oauth]
|
|
@@ -365,6 +403,7 @@ module Google
|
|
|
365
403
|
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
|
366
404
|
@audiences = args[:audiences] if args.key?(:audiences)
|
|
367
405
|
@claims = args[:claims] if args.key?(:claims)
|
|
406
|
+
@credential_id = args[:credential_id] if args.key?(:credential_id)
|
|
368
407
|
@oauth = args[:oauth] if args.key?(:oauth)
|
|
369
408
|
@presenter = args[:presenter] if args.key?(:presenter)
|
|
370
409
|
@principal = args[:principal] if args.key?(:principal)
|
|
@@ -483,6 +522,12 @@ module Google
|
|
|
483
522
|
# @return [String]
|
|
484
523
|
attr_accessor :permission_type
|
|
485
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
|
+
|
|
486
531
|
# The resource being accessed, as a REST-style or cloud resource string. For
|
|
487
532
|
# example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
|
|
488
533
|
# projects/PROJECTID/datasets/DATASETID
|
|
@@ -506,6 +551,7 @@ module Google
|
|
|
506
551
|
@granted = args[:granted] if args.key?(:granted)
|
|
507
552
|
@permission = args[:permission] if args.key?(:permission)
|
|
508
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)
|
|
509
555
|
@resource = args[:resource] if args.key?(:resource)
|
|
510
556
|
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
|
511
557
|
end
|
|
@@ -764,6 +810,11 @@ module Google
|
|
|
764
810
|
# @return [Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo]
|
|
765
811
|
attr_accessor :org_policy_violation_info
|
|
766
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
|
+
|
|
767
818
|
def initialize(**args)
|
|
768
819
|
update!(**args)
|
|
769
820
|
end
|
|
@@ -771,6 +822,59 @@ module Google
|
|
|
771
822
|
# Update properties of this object
|
|
772
823
|
def update!(**args)
|
|
773
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)
|
|
774
878
|
end
|
|
775
879
|
end
|
|
776
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.
|
|
19
|
+
GEM_VERSION = "0.49.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
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,12 +303,21 @@ 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
|
|
291
317
|
collection :access_levels, as: 'accessLevels'
|
|
292
318
|
collection :audiences, as: 'audiences'
|
|
293
319
|
hash :claims, as: 'claims'
|
|
320
|
+
property :credential_id, as: 'credentialId'
|
|
294
321
|
property :oauth, as: 'oauth', class: Google::Apis::ServicecontrolV2::Oauth, decorator: Google::Apis::ServicecontrolV2::Oauth::Representation
|
|
295
322
|
|
|
296
323
|
property :presenter, as: 'presenter'
|
|
@@ -322,6 +349,8 @@ module Google
|
|
|
322
349
|
property :granted, as: 'granted'
|
|
323
350
|
property :permission, as: 'permission'
|
|
324
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
|
+
|
|
325
354
|
property :resource, as: 'resource'
|
|
326
355
|
property :resource_attributes, as: 'resourceAttributes', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
|
|
327
356
|
|
|
@@ -399,6 +428,24 @@ module Google
|
|
|
399
428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
400
429
|
property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo::Representation
|
|
401
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'
|
|
402
449
|
end
|
|
403
450
|
end
|
|
404
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.
|
|
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.
|
|
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:
|
|
@@ -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.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|