google-apis-accesscontextmanager_v1 0.71.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/accesscontextmanager_v1/classes.rb +67 -25
- data/lib/google/apis/accesscontextmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/accesscontextmanager_v1/representations.rb +16 -2
- data/lib/google/apis/accesscontextmanager_v1/service.rb +78 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8db388027e0202d59a487c820507b0f7f173ee57896b30407c4fb335e5cb79c6
|
|
4
|
+
data.tar.gz: bcdc79e07801c7b2f765e0458582b9782d9834ee42cf0e919cdebce5a5309e0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4bd9199259a17aaff32a6433a01cc1ab71cca185f7c62d20819764184cfa58fdb30b001dd83ce52024ca5823311eaef0baa9b1d2e3a2c766a7a21f9e6501a09
|
|
7
|
+
data.tar.gz: 37ddbff268fbd714590e7b39ef9d5bf103109ee7b7857bf76fbb047f3c5a8f9695ee4a51d58fb374f69719402de5e1ff5b25fa545446c170bfb7d9d5d8f62708
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.72.0 (2026-08-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260819
|
|
10
|
+
|
|
3
11
|
### v0.71.0 (2026-08-16)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260809
|
|
@@ -563,7 +563,8 @@ module Google
|
|
|
563
563
|
# @return [Google::Apis::AccesscontextmanagerV1::Application]
|
|
564
564
|
attr_accessor :restricted_client_application
|
|
565
565
|
|
|
566
|
-
# A
|
|
566
|
+
# A Google Cloud project which contains applications and resources that users
|
|
567
|
+
# can access.
|
|
567
568
|
# Corresponds to the JSON property `restrictedProject`
|
|
568
569
|
# @return [Google::Apis::AccesscontextmanagerV1::Project]
|
|
569
570
|
attr_accessor :restricted_project
|
|
@@ -1119,16 +1120,8 @@ module Google
|
|
|
1119
1120
|
# @return [Google::Apis::AccesscontextmanagerV1::Principal]
|
|
1120
1121
|
attr_accessor :principal
|
|
1121
1122
|
|
|
1122
|
-
# Optional. Deprecated: Use `scoped_access_settings` instead. A list of
|
|
1123
|
-
# applications that are subject to this binding's restrictions. If the list is
|
|
1124
|
-
# empty, the binding restrictions will universally apply to all applications.
|
|
1125
|
-
# Corresponds to the JSON property `restrictedClientApplications`
|
|
1126
|
-
# @return [Array<Google::Apis::AccesscontextmanagerV1::Application>]
|
|
1127
|
-
attr_accessor :restricted_client_applications
|
|
1128
|
-
|
|
1129
1123
|
# Optional. A list of scoped access settings that set this binding's
|
|
1130
|
-
# restrictions on a subset of applications.
|
|
1131
|
-
# restricted_client_applications is set.
|
|
1124
|
+
# restrictions on a subset of applications.
|
|
1132
1125
|
# Corresponds to the JSON property `scopedAccessSettings`
|
|
1133
1126
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
|
|
1134
1127
|
attr_accessor :scoped_access_settings
|
|
@@ -1151,7 +1144,6 @@ module Google
|
|
|
1151
1144
|
@group_key = args[:group_key] if args.key?(:group_key)
|
|
1152
1145
|
@name = args[:name] if args.key?(:name)
|
|
1153
1146
|
@principal = args[:principal] if args.key?(:principal)
|
|
1154
|
-
@restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
|
|
1155
1147
|
@scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
|
|
1156
1148
|
@session_settings = args[:session_settings] if args.key?(:session_settings)
|
|
1157
1149
|
end
|
|
@@ -1604,6 +1596,49 @@ module Google
|
|
|
1604
1596
|
end
|
|
1605
1597
|
end
|
|
1606
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
|
+
|
|
1607
1642
|
# An allowed method or permission of a service specified in ApiOperation.
|
|
1608
1643
|
class MethodSelector
|
|
1609
1644
|
include Google::Apis::Core::Hashable
|
|
@@ -1851,12 +1886,18 @@ module Google
|
|
|
1851
1886
|
class Principal
|
|
1852
1887
|
include Google::Apis::Core::Hashable
|
|
1853
1888
|
|
|
1854
|
-
# Immutable. IAM
|
|
1855
|
-
#
|
|
1856
|
-
#
|
|
1857
|
-
#
|
|
1858
|
-
#
|
|
1859
|
-
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id
|
|
1889
|
+
# Immutable. The IAM principal identifier of the federated workforce or workload
|
|
1890
|
+
# to assign the policy to. Examples include the following: * Single principal: `
|
|
1891
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
|
1892
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value`` * All
|
|
1893
|
+
# workloads in a workload identity pool: `principalSet://iam.googleapis.com/
|
|
1894
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/*` *
|
|
1895
|
+
# All Workforce Pools in a Google Cloud organization: `principalSet://
|
|
1896
|
+
# cloudresourcemanager.googleapis.com/organizations/`organization_id`/type/
|
|
1897
|
+
# WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud
|
|
1898
|
+
# organization support only `scoped_access_settings` with the `
|
|
1899
|
+
# restricted_project` client scope and active `session_settings`. No other
|
|
1900
|
+
# configurations are allowed.
|
|
1860
1901
|
# Corresponds to the JSON property `federatedPrincipal`
|
|
1861
1902
|
# @return [String]
|
|
1862
1903
|
attr_accessor :federated_principal
|
|
@@ -1910,12 +1951,13 @@ module Google
|
|
|
1910
1951
|
end
|
|
1911
1952
|
end
|
|
1912
1953
|
|
|
1913
|
-
# A
|
|
1954
|
+
# A Google Cloud project which contains applications and resources that users
|
|
1955
|
+
# can access.
|
|
1914
1956
|
class Project
|
|
1915
1957
|
include Google::Apis::Core::Hashable
|
|
1916
1958
|
|
|
1917
|
-
# The
|
|
1918
|
-
#
|
|
1959
|
+
# The Google Cloud project resource name. Format: `projects/`project_number``.
|
|
1960
|
+
# Only the project number is supported. Example: `projects/1234567890`
|
|
1919
1961
|
# Corresponds to the JSON property `name`
|
|
1920
1962
|
# @return [String]
|
|
1921
1963
|
attr_accessor :name
|
|
@@ -2270,11 +2312,11 @@ module Google
|
|
|
2270
2312
|
attr_accessor :max_inactivity
|
|
2271
2313
|
|
|
2272
2314
|
# Optional. The session length. Setting this field to zero allows for sessions
|
|
2273
|
-
# that are active indefinitely. Also, setting `session_length_enabled` to false
|
|
2274
|
-
# disregards session limits, which means that sessions never expire. If
|
|
2275
|
-
# use_oidc_max_age is true
|
|
2276
|
-
# minimum of this field and the OIDC max_age param. If this field is set to
|
|
2277
|
-
# `session_length_enabled` must be set to false or left unset.
|
|
2315
|
+
# that are active indefinitely. Also, setting `session_length_enabled` to `false`
|
|
2316
|
+
# disregards session limits, which means that sessions never expire. If `
|
|
2317
|
+
# use_oidc_max_age` is `true`, for OIDC apps, the session length will be the
|
|
2318
|
+
# minimum of this field and the OIDC `max_age` param. If this field is set to
|
|
2319
|
+
# zero, `session_length_enabled` must be set to `false` or left unset.
|
|
2278
2320
|
# Corresponds to the JSON property `sessionLength`
|
|
2279
2321
|
# @return [String]
|
|
2280
2322
|
attr_accessor :session_length
|
|
@@ -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.
|
|
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 = "
|
|
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
|
|
@@ -924,6 +924,9 @@ module Google
|
|
|
924
924
|
# @param [String] name
|
|
925
925
|
# Required. Resource name for the Service Perimeter. Format: `accessPolicies/`
|
|
926
926
|
# policy_id`/servicePerimeters/`service_perimeters_id``
|
|
927
|
+
# @param [String] deleted_principal_syntax
|
|
928
|
+
# Optional. If true, the response will contain the deleted principal syntax for
|
|
929
|
+
# identities that support it.
|
|
927
930
|
# @param [String] fields
|
|
928
931
|
# Selector specifying which fields to include in a partial response.
|
|
929
932
|
# @param [String] quota_user
|
|
@@ -941,11 +944,12 @@ module Google
|
|
|
941
944
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
942
945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
943
946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
944
|
-
def get_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
947
|
+
def get_access_policy_service_perimeter(name, deleted_principal_syntax: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
945
948
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
946
949
|
command.response_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
947
950
|
command.response_class = Google::Apis::AccesscontextmanagerV1::ServicePerimeter
|
|
948
951
|
command.params['name'] = name unless name.nil?
|
|
952
|
+
command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
|
|
949
953
|
command.query['fields'] = fields unless fields.nil?
|
|
950
954
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
951
955
|
execute_or_queue_command(command, &block)
|
|
@@ -955,6 +959,9 @@ module Google
|
|
|
955
959
|
# @param [String] parent
|
|
956
960
|
# Required. Resource name for the access policy to list Service Perimeters from.
|
|
957
961
|
# Format: `accessPolicies/`policy_id``
|
|
962
|
+
# @param [String] deleted_principal_syntax
|
|
963
|
+
# Optional. If true, the response will contain the deleted principal syntax for
|
|
964
|
+
# identities that support it.
|
|
958
965
|
# @param [Fixnum] page_size
|
|
959
966
|
# Number of Service Perimeters to include in the list. Default 100.
|
|
960
967
|
# @param [String] page_token
|
|
@@ -977,11 +984,12 @@ module Google
|
|
|
977
984
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
978
985
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
979
986
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
980
|
-
def list_access_policy_service_perimeters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
987
|
+
def list_access_policy_service_perimeters(parent, deleted_principal_syntax: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
981
988
|
command = make_simple_command(:get, 'v1/{+parent}/servicePerimeters', options)
|
|
982
989
|
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse::Representation
|
|
983
990
|
command.response_class = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse
|
|
984
991
|
command.params['parent'] = parent unless parent.nil?
|
|
992
|
+
command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
|
|
985
993
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
986
994
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
987
995
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -999,6 +1007,10 @@ module Google
|
|
|
999
1007
|
# component must begin with a letter, followed by alphanumeric characters or `_`.
|
|
1000
1008
|
# After you create a `ServicePerimeter`, you cannot change its `name`.
|
|
1001
1009
|
# @param [Google::Apis::AccesscontextmanagerV1::ServicePerimeter] service_perimeter_object
|
|
1010
|
+
# @param [String] deleted_principal_syntax
|
|
1011
|
+
# Optional. If true, the response will contain the deleted principal syntax for
|
|
1012
|
+
# identities that support it and the request can contain identities with deleted
|
|
1013
|
+
# principal syntax.
|
|
1002
1014
|
# @param [String] update_mask
|
|
1003
1015
|
# Required. Mask to control which fields get updated. Must be non-empty.
|
|
1004
1016
|
# @param [String] fields
|
|
@@ -1018,13 +1030,14 @@ module Google
|
|
|
1018
1030
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1019
1031
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1020
1032
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1021
|
-
def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1033
|
+
def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, deleted_principal_syntax: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1022
1034
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
1023
1035
|
command.request_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
1024
1036
|
command.request_object = service_perimeter_object
|
|
1025
1037
|
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
|
1026
1038
|
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
|
1027
1039
|
command.params['name'] = name unless name.nil?
|
|
1040
|
+
command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
|
|
1028
1041
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1029
1042
|
command.query['fields'] = fields unless fields.nil?
|
|
1030
1043
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1110,6 +1123,37 @@ module Google
|
|
|
1110
1123
|
execute_or_queue_command(command, &block)
|
|
1111
1124
|
end
|
|
1112
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
|
+
|
|
1113
1157
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
1114
1158
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
1115
1159
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -1498,6 +1542,37 @@ module Google
|
|
|
1498
1542
|
execute_or_queue_command(command, &block)
|
|
1499
1543
|
end
|
|
1500
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
|
+
|
|
1501
1576
|
# Returns a VPC-SC supported service based on the service name. **IAM
|
|
1502
1577
|
# Permissions**: Requires the following IAM permissions to use this method: - `
|
|
1503
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.
|
|
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.
|
|
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:
|