google-apis-accesscontextmanager_v1 0.72.0 → 0.73.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: 8db388027e0202d59a487c820507b0f7f173ee57896b30407c4fb335e5cb79c6
4
+ data.tar.gz: bcdc79e07801c7b2f765e0458582b9782d9834ee42cf0e919cdebce5a5309e0f
5
5
  SHA512:
6
- metadata.gz: 61c6c502496690ab748448880ba2a3444098d449413e4ccd334299348f2adf879f258aaae4be6708addf083144928663770fd7383cdaccf72923df8dd35540f8
7
- data.tar.gz: 0541f904d4ef59a271614e304e9e5c84d70b5e5790f8076212e8c505330ac0daebe7e4e2dc5b6d14bc367a5af77f2db0a06586ce18ecd6c25624ecc7e176b7db
6
+ metadata.gz: c4bd9199259a17aaff32a6433a01cc1ab71cca185f7c62d20819764184cfa58fdb30b001dd83ce52024ca5823311eaef0baa9b1d2e3a2c766a7a21f9e6501a09
7
+ data.tar.gz: 37ddbff268fbd714590e7b39ef9d5bf103109ee7b7857bf76fbb047f3c5a8f9695ee4a51d58fb374f69719402de5e1ff5b25fa545446c170bfb7d9d5d8f62708
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.73.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260827
6
+
3
7
  ### v0.72.0 (2026-08-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20260819
@@ -1120,16 +1120,8 @@ module Google
1120
1120
  # @return [Google::Apis::AccesscontextmanagerV1::Principal]
1121
1121
  attr_accessor :principal
1122
1122
 
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
1123
  # 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.
1124
+ # restrictions on a subset of applications.
1133
1125
  # Corresponds to the JSON property `scopedAccessSettings`
1134
1126
  # @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
1135
1127
  attr_accessor :scoped_access_settings
@@ -1152,7 +1144,6 @@ module Google
1152
1144
  @group_key = args[:group_key] if args.key?(:group_key)
1153
1145
  @name = args[:name] if args.key?(:name)
1154
1146
  @principal = args[:principal] if args.key?(:principal)
1155
- @restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
1156
1147
  @scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
1157
1148
  @session_settings = args[:session_settings] if args.key?(:session_settings)
1158
1149
  end
@@ -1605,6 +1596,49 @@ module Google
1605
1596
  end
1606
1597
  end
1607
1598
 
1599
+ # A configured service perimeter returned by Access Context Manager.
1600
+ class LookupConfiguredServicePerimeterResponse
1601
+ include Google::Apis::Core::Hashable
1602
+
1603
+ # The resource (e.g. "projects/123", "folders/456") that directly owns/is
1604
+ # restricted by the enforced perimeter.
1605
+ # Corresponds to the JSON property `restrictedResource`
1606
+ # @return [String]
1607
+ attr_accessor :restricted_resource
1608
+
1609
+ # The resource (e.g. "projects/123", "folders/456") that directly owns/is
1610
+ # restricted by the dry-run perimeter.
1611
+ # Corresponds to the JSON property `restrictedResourceDryRun`
1612
+ # @return [String]
1613
+ attr_accessor :restricted_resource_dry_run
1614
+
1615
+ # Fully qualified name of the configured enforced perimeter. Format: `
1616
+ # accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
1617
+ # empty if no enforced perimeter applies.
1618
+ # Corresponds to the JSON property `servicePerimeter`
1619
+ # @return [String]
1620
+ attr_accessor :service_perimeter
1621
+
1622
+ # Fully qualified name of the configured dry-run perimeter. Format: `
1623
+ # accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
1624
+ # empty if no dry-run perimeter configuration applies.
1625
+ # Corresponds to the JSON property `servicePerimeterDryRun`
1626
+ # @return [String]
1627
+ attr_accessor :service_perimeter_dry_run
1628
+
1629
+ def initialize(**args)
1630
+ update!(**args)
1631
+ end
1632
+
1633
+ # Update properties of this object
1634
+ def update!(**args)
1635
+ @restricted_resource = args[:restricted_resource] if args.key?(:restricted_resource)
1636
+ @restricted_resource_dry_run = args[:restricted_resource_dry_run] if args.key?(:restricted_resource_dry_run)
1637
+ @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
1638
+ @service_perimeter_dry_run = args[:service_perimeter_dry_run] if args.key?(:service_perimeter_dry_run)
1639
+ end
1640
+ end
1641
+
1608
1642
  # An allowed method or permission of a service specified in ApiOperation.
1609
1643
  class MethodSelector
1610
1644
  include Google::Apis::Core::Hashable
@@ -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.73.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 = "20260819"
25
+ REVISION = "20260827"
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.73.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.73.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: