Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,11 @@
"/accesscontextmanager:v1/ListSupportedServicesResponse/nextPageToken": next_page_token
"/accesscontextmanager:v1/ListSupportedServicesResponse/supportedServices": supported_services
"/accesscontextmanager:v1/ListSupportedServicesResponse/supportedServices/supported_service": supported_service
"/accesscontextmanager:v1/LookupConfiguredServicePerimeterResponse": lookup_configured_service_perimeter_response
"/accesscontextmanager:v1/LookupConfiguredServicePerimeterResponse/restrictedResource": restricted_resource
"/accesscontextmanager:v1/LookupConfiguredServicePerimeterResponse/restrictedResourceDryRun": restricted_resource_dry_run
"/accesscontextmanager:v1/LookupConfiguredServicePerimeterResponse/servicePerimeter": service_perimeter
"/accesscontextmanager:v1/LookupConfiguredServicePerimeterResponse/servicePerimeterDryRun": service_perimeter_dry_run
"/accesscontextmanager:v1/MethodSelector": method_selector
"/accesscontextmanager:v1/MethodSelector/method": method_prop
"/accesscontextmanager:v1/MethodSelector/permission": permission
Expand Down Expand Up @@ -675,6 +680,8 @@
"/accesscontextmanager:v1/accesscontextmanager.accessPolicies.setIamPolicy/resource": resource
"/accesscontextmanager:v1/accesscontextmanager.accessPolicies.testIamPermissions": test_access_policy_iam_permissions
"/accesscontextmanager:v1/accesscontextmanager.accessPolicies.testIamPermissions/resource": resource
"/accesscontextmanager:v1/accesscontextmanager.folders.lookupConfiguredServicePerimeter": lookup_folder_configured_service_perimeter
"/accesscontextmanager:v1/accesscontextmanager.folders.lookupConfiguredServicePerimeter/resource": resource
"/accesscontextmanager:v1/accesscontextmanager.operations.cancel": cancel_operation
"/accesscontextmanager:v1/accesscontextmanager.operations.cancel/name": name
"/accesscontextmanager:v1/accesscontextmanager.operations.delete": delete_operation
Expand Down Expand Up @@ -706,6 +713,8 @@
"/accesscontextmanager:v1/accesscontextmanager.permissions.list": list_permissions
"/accesscontextmanager:v1/accesscontextmanager.permissions.list/pageSize": page_size
"/accesscontextmanager:v1/accesscontextmanager.permissions.list/pageToken": page_token
"/accesscontextmanager:v1/accesscontextmanager.projects.lookupConfiguredServicePerimeter": lookup_project_configured_service_perimeter
"/accesscontextmanager:v1/accesscontextmanager.projects.lookupConfiguredServicePerimeter/resource": resource
"/accesscontextmanager:v1/accesscontextmanager.services.get": get_service
"/accesscontextmanager:v1/accesscontextmanager.services.get/name": name
"/accesscontextmanager:v1/accesscontextmanager.services.list": list_services
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-accesscontextmanager_v1

### v0.73.0 (2026-09-06)

* Regenerated from discovery document revision 20260827

### v0.72.0 (2026-08-23)

* Regenerated from discovery document revision 20260819
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-accesscontextmanager_v1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
google-apis-accesscontextmanager_v1 (0.72.0)
google-apis-accesscontextmanager_v1 (0.73.0)
google-apis-core (>= 0.15.0, < 2.a)

GEM
Expand Down Expand Up @@ -105,7 +105,7 @@ CHECKSUMS
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
google-apis-accesscontextmanager_v1 (0.72.0)
google-apis-accesscontextmanager_v1 (0.73.0)
google-apis-core (1.2.5) sha256=e21562b5627a0fc6a0c3165e429c3afed0f6a628eaa514e83f7204dda1adff69
google-cloud-env (2.4.0) sha256=01cb35ecee5d1c4d1cd4deaed8bb5bddc838e296bcc2a35c5d1ddd07ce40d28d
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1120,16 +1120,8 @@ class GcpUserAccessBinding
# @return [Google::Apis::AccesscontextmanagerV1::Principal]
attr_accessor :principal

# Optional. Deprecated: Use `scoped_access_settings` instead. A list of
# applications that are subject to this binding's restrictions. If the list is
# empty, the binding restrictions will universally apply to all applications.
# Corresponds to the JSON property `restrictedClientApplications`
# @return [Array<Google::Apis::AccesscontextmanagerV1::Application>]
attr_accessor :restricted_client_applications

# Optional. A list of scoped access settings that set this binding's
# restrictions on a subset of applications. This field cannot be set if
# restricted_client_applications is set.
# restrictions on a subset of applications.
# Corresponds to the JSON property `scopedAccessSettings`
# @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
attr_accessor :scoped_access_settings
Expand All @@ -1152,7 +1144,6 @@ def update!(**args)
@group_key = args[:group_key] if args.key?(:group_key)
@name = args[:name] if args.key?(:name)
@principal = args[:principal] if args.key?(:principal)
@restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
@scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
@session_settings = args[:session_settings] if args.key?(:session_settings)
end
Expand Down Expand Up @@ -1605,6 +1596,49 @@ def update!(**args)
end
end

# A configured service perimeter returned by Access Context Manager.
class LookupConfiguredServicePerimeterResponse
include Google::Apis::Core::Hashable

# The resource (e.g. "projects/123", "folders/456") that directly owns/is
# restricted by the enforced perimeter.
# Corresponds to the JSON property `restrictedResource`
# @return [String]
attr_accessor :restricted_resource

# The resource (e.g. "projects/123", "folders/456") that directly owns/is
# restricted by the dry-run perimeter.
# Corresponds to the JSON property `restrictedResourceDryRun`
# @return [String]
attr_accessor :restricted_resource_dry_run

# Fully qualified name of the configured enforced perimeter. Format: `
# accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
# empty if no enforced perimeter applies.
# Corresponds to the JSON property `servicePerimeter`
# @return [String]
attr_accessor :service_perimeter

# Fully qualified name of the configured dry-run perimeter. Format: `
# accessPolicies/`policy_id`/servicePerimeters/`perimeter_name`` This field is
# empty if no dry-run perimeter configuration applies.
# Corresponds to the JSON property `servicePerimeterDryRun`
# @return [String]
attr_accessor :service_perimeter_dry_run

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@restricted_resource = args[:restricted_resource] if args.key?(:restricted_resource)
@restricted_resource_dry_run = args[:restricted_resource_dry_run] if args.key?(:restricted_resource_dry_run)
@service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
@service_perimeter_dry_run = args[:service_perimeter_dry_run] if args.key?(:service_perimeter_dry_run)
end
end

# An allowed method or permission of a service specified in ApiOperation.
class MethodSelector
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module AccesscontextmanagerV1
# Version of the google-apis-accesscontextmanager_v1 gem
GEM_VERSION = "0.72.0"
GEM_VERSION = "0.73.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.19.0"

# Revision of the discovery document this client was generated from
REVISION = "20260819"
REVISION = "20260827"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class LookupConfiguredServicePerimeterResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class MethodSelector
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -678,8 +684,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :principal, as: 'principal', class: Google::Apis::AccesscontextmanagerV1::Principal, decorator: Google::Apis::AccesscontextmanagerV1::Principal::Representation

collection :restricted_client_applications, as: 'restrictedClientApplications', class: Google::Apis::AccesscontextmanagerV1::Application, decorator: Google::Apis::AccesscontextmanagerV1::Application::Representation

collection :scoped_access_settings, as: 'scopedAccessSettings', class: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings, decorator: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings::Representation

property :session_settings, as: 'sessionSettings', class: Google::Apis::AccesscontextmanagerV1::SessionSettings, decorator: Google::Apis::AccesscontextmanagerV1::SessionSettings::Representation
Expand Down Expand Up @@ -821,6 +825,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class LookupConfiguredServicePerimeterResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :restricted_resource, as: 'restrictedResource'
property :restricted_resource_dry_run, as: 'restrictedResourceDryRun'
property :service_perimeter, as: 'servicePerimeter'
property :service_perimeter_dry_run, as: 'servicePerimeterDryRun'
end
end

class MethodSelector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,37 @@ def test_service_perimeter_iam_permissions(resource, test_iam_permissions_reques
execute_or_queue_command(command, &block)
end

# Looks up the configured service perimeter for a given resource Format: ['
# projects/`projectNumber`', 'folders/`folderNumber`'].
# @param [String] resource
# Required. The Resource to resolve (e.g. "projects/123", "folders/456").
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_folder_configured_service_perimeter(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:lookupConfiguredServicePerimeter', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. If the
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
Expand Down Expand Up @@ -1511,6 +1542,37 @@ def list_permissions(page_size: nil, page_token: nil, fields: nil, quota_user: n
execute_or_queue_command(command, &block)
end

# Looks up the configured service perimeter for a given resource Format: ['
# projects/`projectNumber`', 'folders/`folderNumber`'].
# @param [String] resource
# Required. The Resource to resolve (e.g. "projects/123", "folders/456").
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_project_configured_service_perimeter(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:lookupConfiguredServicePerimeter', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::LookupConfiguredServicePerimeterResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

# Returns a VPC-SC supported service based on the service name. **IAM
# Permissions**: Requires the following IAM permissions to use this method: - `
# serviceusage.services.use` on the project.
Expand Down
Loading