google-apis-accesscontextmanager_v1 0.72.0 → 0.74.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: 3ab2483d063d4e8582012f0406379dd3a67cf9b5420950833033a48b43370810
4
- data.tar.gz: a5a2b7b5d024d43464781c1100419860a458d048564ea23e295b7fcdd8011963
3
+ metadata.gz: 19e5ec52024c8eab18f470fb8b5120f30c29f0e024c731827570587d0f3ed095
4
+ data.tar.gz: 1f12ba49030d41c1178ca75ed37cb6120847412de432790310b7bfba664a6c85
5
5
  SHA512:
6
- metadata.gz: 61c6c502496690ab748448880ba2a3444098d449413e4ccd334299348f2adf879f258aaae4be6708addf083144928663770fd7383cdaccf72923df8dd35540f8
7
- data.tar.gz: 0541f904d4ef59a271614e304e9e5c84d70b5e5790f8076212e8c505330ac0daebe7e4e2dc5b6d14bc367a5af77f2db0a06586ce18ecd6c25624ecc7e176b7db
6
+ metadata.gz: 672d88ed6bc0de964866b4f3a2f2cb8183e87941921f076250472c6babf4421363c0da7d14684cc8bbca9a3c202c42a556608dcd46db5e1d6cbb83e86f59ee28
7
+ data.tar.gz: 2fdbb683e3f3f0774ce69ab836b7e6f6ce7dc9253d32b0b54f2ab95f38c78f2e0a0fa7fe6ad899ee44e984876f04bee6f15589bb3381eef68edbc1c204fc061b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.74.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261011
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.73.0 (2026-09-06)
9
+
10
+ * Regenerated from discovery document revision 20260827
11
+
3
12
  ### v0.72.0 (2026-08-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20260819
@@ -930,9 +930,9 @@ module Google
930
930
  attr_accessor :psc_endpoint
931
931
 
932
932
  # A Google Cloud resource from the service perimeter that you want to allow to
933
- # access data outside the perimeter. This field supports only projects. The
934
- # project format is `projects/`project_number``. You can't use `*` in this field
935
- # to allow all Google Cloud resources.
933
+ # access data outside the perimeter. This field supports projects, folders, and
934
+ # organizations in the form `projects/`, `folders/`, and `organizations/`. You
935
+ # can't use `*` in this field to allow all Google Cloud resources.
936
936
  # Corresponds to the JSON property `resource`
937
937
  # @return [String]
938
938
  attr_accessor :resource
@@ -976,11 +976,12 @@ module Google
976
976
  # @return [Array<Google::Apis::AccesscontextmanagerV1::ApiOperation>]
977
977
  attr_accessor :operations
978
978
 
979
- # A list of resources, currently only projects in the form `projects/`, that are
980
- # allowed to be accessed by sources defined in the corresponding EgressFrom. A
981
- # request matches if it contains a resource in this list. If `*` is specified
982
- # for `resources`, then this EgressTo rule will authorize access to all
983
- # resources outside the perimeter.
979
+ # A list of resources, currently projects, folders, and organizations in the
980
+ # form `projects/`, `folders/`, and `organizations/`, that are allowed to be
981
+ # accessed by sources defined in the corresponding EgressFrom. A request matches
982
+ # if it contains a resource in this list. If `*` is specified for `resources`,
983
+ # then this EgressTo rule will authorize access to all resources outside the
984
+ # perimeter.
984
985
  # Corresponds to the JSON property `resources`
985
986
  # @return [Array<String>]
986
987
  attr_accessor :resources
@@ -1120,16 +1121,8 @@ module Google
1120
1121
  # @return [Google::Apis::AccesscontextmanagerV1::Principal]
1121
1122
  attr_accessor :principal
1122
1123
 
1123
- # Optional. Deprecated: Use `scoped_access_settings` instead. A list of
1124
- # applications that are subject to this binding's restrictions. If the list is
1125
- # empty, the binding restrictions will universally apply to all applications.
1126
- # Corresponds to the JSON property `restrictedClientApplications`
1127
- # @return [Array<Google::Apis::AccesscontextmanagerV1::Application>]
1128
- attr_accessor :restricted_client_applications
1129
-
1130
1124
  # Optional. A list of scoped access settings that set this binding's
1131
- # restrictions on a subset of applications. This field cannot be set if
1132
- # restricted_client_applications is set.
1125
+ # restrictions on a subset of applications.
1133
1126
  # Corresponds to the JSON property `scopedAccessSettings`
1134
1127
  # @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
1135
1128
  attr_accessor :scoped_access_settings
@@ -1152,7 +1145,6 @@ module Google
1152
1145
  @group_key = args[:group_key] if args.key?(:group_key)
1153
1146
  @name = args[:name] if args.key?(:name)
1154
1147
  @principal = args[:principal] if args.key?(:principal)
1155
- @restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
1156
1148
  @scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
1157
1149
  @session_settings = args[:session_settings] if args.key?(:session_settings)
1158
1150
  end
@@ -1329,12 +1321,14 @@ module Google
1329
1321
  attr_accessor :psc_endpoint
1330
1322
 
1331
1323
  # A Google Cloud resource that is allowed to ingress the perimeter. Requests
1332
- # from these resources will be allowed to access perimeter data. Currently only
1333
- # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
1334
- # network format: `//compute.googleapis.com/projects/`PROJECT_ID`/global/
1335
- # networks/`NAME``. The project may be in any Google Cloud organization, not
1336
- # just the organization that the perimeter is defined in. `*` is not allowed,
1337
- # the case of allowing all Google Cloud resources only is not supported.
1324
+ # from these resources will be allowed to access perimeter data. Currently
1325
+ # projects, folders, organizations, and VPCs are allowed. Project format: `
1326
+ # projects/`project_number`` Folder format: `folders/`folder_id`` Organization
1327
+ # format: `organizations/`organization_id`` VPC network format: `//compute.
1328
+ # googleapis.com/projects/`PROJECT_ID`/global/networks/`NAME``. The project may
1329
+ # be in any Google Cloud organization, not just the organization that the
1330
+ # perimeter is defined in. `*` is not allowed, the case of allowing all Google
1331
+ # Cloud resources only is not supported.
1338
1332
  # Corresponds to the JSON property `resource`
1339
1333
  # @return [String]
1340
1334
  attr_accessor :resource
@@ -1364,10 +1358,11 @@ module Google
1364
1358
  # @return [Array<Google::Apis::AccesscontextmanagerV1::ApiOperation>]
1365
1359
  attr_accessor :operations
1366
1360
 
1367
- # A list of resources, currently only projects in the form `projects/`,
1368
- # protected by this ServicePerimeter that are allowed to be accessed by sources
1369
- # defined in the corresponding IngressFrom. If a single `*` is specified, then
1370
- # access to all resources inside the perimeter are allowed.
1361
+ # A list of resources, currently projects, folders, and organizations in the
1362
+ # form `projects/`project_number``, `folders/`folder_id``, and `organizations/`
1363
+ # organization_id``, protected by this ServicePerimeter that are allowed to be
1364
+ # accessed by sources defined in the corresponding IngressFrom. If a single `*`
1365
+ # is specified, then access to all resources inside the perimeter are allowed.
1371
1366
  # Corresponds to the JSON property `resources`
1372
1367
  # @return [Array<String>]
1373
1368
  attr_accessor :resources
@@ -1605,6 +1600,49 @@ module Google
1605
1600
  end
1606
1601
  end
1607
1602
 
1603
+ # A configured service perimeter returned by Access Context Manager.
1604
+ class LookupConfiguredServicePerimeterResponse
1605
+ include Google::Apis::Core::Hashable
1606
+
1607
+ # The resource (e.g. "projects/123", "folders/456") that directly owns/is
1608
+ # restricted by the enforced perimeter.
1609
+ # Corresponds to the JSON property `restrictedResource`
1610
+ # @return [String]
1611
+ attr_accessor :restricted_resource
1612
+
1613
+ # The resource (e.g. "projects/123", "folders/456") that directly owns/is
1614
+ # restricted by the dry-run perimeter.
1615
+ # Corresponds to the JSON property `restrictedResourceDryRun`
1616
+ # @return [String]
1617
+ attr_accessor :restricted_resource_dry_run
1618
+
1619
+ # Fully qualified name of the configured enforced perimeter. Format: `
1620
+ # accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
1621
+ # empty if no enforced perimeter applies.
1622
+ # Corresponds to the JSON property `servicePerimeter`
1623
+ # @return [String]
1624
+ attr_accessor :service_perimeter
1625
+
1626
+ # Fully qualified name of the configured dry-run perimeter. Format: `
1627
+ # accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
1628
+ # empty if no dry-run perimeter configuration applies.
1629
+ # Corresponds to the JSON property `servicePerimeterDryRun`
1630
+ # @return [String]
1631
+ attr_accessor :service_perimeter_dry_run
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @restricted_resource = args[:restricted_resource] if args.key?(:restricted_resource)
1640
+ @restricted_resource_dry_run = args[:restricted_resource_dry_run] if args.key?(:restricted_resource_dry_run)
1641
+ @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
1642
+ @service_perimeter_dry_run = args[:service_perimeter_dry_run] if args.key?(:service_perimeter_dry_run)
1643
+ end
1644
+ end
1645
+
1608
1646
  # An allowed method or permission of a service specified in ApiOperation.
1609
1647
  class MethodSelector
1610
1648
  include Google::Apis::Core::Hashable
@@ -2231,9 +2269,9 @@ module Google
2231
2269
  attr_accessor :ingress_policies
2232
2270
 
2233
2271
  # A list of Google Cloud resources that are inside of the service perimeter.
2234
- # Currently only projects and VPCs are allowed. Project format: `projects/`
2235
- # project_number`` VPC network format: `//compute.googleapis.com/projects/`
2236
- # PROJECT_ID`/global/networks/`NAME``.
2272
+ # Currently projects, folders, and VPCs are allowed. Project format: `projects/`
2273
+ # project_number`` Folder format: `folders/`folder_id`` VPC network format: `//
2274
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NAME``.
2237
2275
  # Corresponds to the JSON property `resources`
2238
2276
  # @return [Array<String>]
2239
2277
  attr_accessor :resources
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AccesscontextmanagerV1
18
18
  # Version of the google-apis-accesscontextmanager_v1 gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260819"
25
+ REVISION = "20261011"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class LookupConfiguredServicePerimeterResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class MethodSelector
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -678,8 +684,6 @@ module Google
678
684
  property :name, as: 'name'
679
685
  property :principal, as: 'principal', class: Google::Apis::AccesscontextmanagerV1::Principal, decorator: Google::Apis::AccesscontextmanagerV1::Principal::Representation
680
686
 
681
- collection :restricted_client_applications, as: 'restrictedClientApplications', class: Google::Apis::AccesscontextmanagerV1::Application, decorator: Google::Apis::AccesscontextmanagerV1::Application::Representation
682
-
683
687
  collection :scoped_access_settings, as: 'scopedAccessSettings', class: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings, decorator: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings::Representation
684
688
 
685
689
  property :session_settings, as: 'sessionSettings', class: Google::Apis::AccesscontextmanagerV1::SessionSettings, decorator: Google::Apis::AccesscontextmanagerV1::SessionSettings::Representation
@@ -821,6 +825,16 @@ module Google
821
825
  end
822
826
  end
823
827
 
828
+ class LookupConfiguredServicePerimeterResponse
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :restricted_resource, as: 'restrictedResource'
832
+ property :restricted_resource_dry_run, as: 'restrictedResourceDryRun'
833
+ property :service_perimeter, as: 'servicePerimeter'
834
+ property :service_perimeter_dry_run, as: 'servicePerimeterDryRun'
835
+ end
836
+ end
837
+
824
838
  class MethodSelector
825
839
  # @private
826
840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1123,6 +1123,37 @@ module Google
1123
1123
  execute_or_queue_command(command, &block)
1124
1124
  end
1125
1125
 
1126
+ # Looks up the configured service perimeter for a given resource Format: ['
1127
+ # projects/`projectNumber`', 'folders/`folderNumber`'].
1128
+ # @param [String] resource
1129
+ # Required. The Resource to resolve (e.g. "projects/123", "folders/456").
1130
+ # @param [String] fields
1131
+ # Selector specifying which fields to include in a partial response.
1132
+ # @param [String] quota_user
1133
+ # Available to use for quota purposes for server-side applications. Can be any
1134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1135
+ # @param [Google::Apis::RequestOptions] options
1136
+ # Request-specific options
1137
+ #
1138
+ # @yield [result, err] Result & error if block supplied
1139
+ # @yieldparam result [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse] parsed result object
1140
+ # @yieldparam err [StandardError] error object if request failed
1141
+ #
1142
+ # @return [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse]
1143
+ #
1144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1147
+ def lookup_folder_configured_service_perimeter(resource, fields: nil, quota_user: nil, options: nil, &block)
1148
+ command = make_simple_command(:get, 'v1/{+resource}:lookupConfiguredServicePerimeter', options)
1149
+ command.response_representation = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse::Representation
1150
+ command.response_class = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse
1151
+ command.params['resource'] = resource unless resource.nil?
1152
+ command.query['fields'] = fields unless fields.nil?
1153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1154
+ execute_or_queue_command(command, &block)
1155
+ end
1156
+
1126
1157
  # Starts asynchronous cancellation on a long-running operation. The server makes
1127
1158
  # a best effort to cancel the operation, but success is not guaranteed. If the
1128
1159
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -1511,6 +1542,37 @@ module Google
1511
1542
  execute_or_queue_command(command, &block)
1512
1543
  end
1513
1544
 
1545
+ # Looks up the configured service perimeter for a given resource Format: ['
1546
+ # projects/`projectNumber`', 'folders/`folderNumber`'].
1547
+ # @param [String] resource
1548
+ # Required. The Resource to resolve (e.g. "projects/123", "folders/456").
1549
+ # @param [String] fields
1550
+ # Selector specifying which fields to include in a partial response.
1551
+ # @param [String] quota_user
1552
+ # Available to use for quota purposes for server-side applications. Can be any
1553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1554
+ # @param [Google::Apis::RequestOptions] options
1555
+ # Request-specific options
1556
+ #
1557
+ # @yield [result, err] Result & error if block supplied
1558
+ # @yieldparam result [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse] parsed result object
1559
+ # @yieldparam err [StandardError] error object if request failed
1560
+ #
1561
+ # @return [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse]
1562
+ #
1563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1566
+ def lookup_project_configured_service_perimeter(resource, fields: nil, quota_user: nil, options: nil, &block)
1567
+ command = make_simple_command(:get, 'v1/{+resource}:lookupConfiguredServicePerimeter', options)
1568
+ command.response_representation = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse::Representation
1569
+ command.response_class = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse
1570
+ command.params['resource'] = resource unless resource.nil?
1571
+ command.query['fields'] = fields unless fields.nil?
1572
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1573
+ execute_or_queue_command(command, &block)
1574
+ end
1575
+
1514
1576
  # Returns a VPC-SC supported service based on the service name. **IAM
1515
1577
  # Permissions**: Requires the following IAM permissions to use this method: - `
1516
1578
  # serviceusage.services.use` on the project.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-accesscontextmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.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-accesscontextmanager_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.74.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1
62
62
  rdoc_options: []
63
63
  require_paths: