google-apis-accesscontextmanager_v1 0.60.0 → 0.62.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 +29 -2
- data/lib/google/apis/accesscontextmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/accesscontextmanager_v1/representations.rb +14 -0
- data/lib/google/apis/accesscontextmanager_v1/service.rb +40 -5
- 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: a62659d1a74765706c3c5d35b724b38dabfaa668e8457c6daeaae92adf1831c6
|
|
4
|
+
data.tar.gz: 9389a479c43a53fd2335f36ee5c5ae997912a310c44bcef81ba63f3594904a8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d97308acc2f4d3b79f19f5dd73965714d951c8236e7057054c25b92d3261b08d46a2ce2639f43ee4957029215d62b6c6d411f9d4f2c8d2ddfc7ff34c8b1af9e
|
|
7
|
+
data.tar.gz: c4c0bbfb6827b6030340807f622a3e2fb6dcd356dea325e2e92013326977a3b8b9f55353dd910fbe982cddbf9c13168bc7f344a378009617e9606850af108804
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-accesscontextmanager_v1
|
|
2
2
|
|
|
3
|
+
### v0.62.0 (2026-03-15)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260215
|
|
6
|
+
|
|
7
|
+
### v0.61.0 (2025-11-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251112
|
|
10
|
+
|
|
3
11
|
### v0.60.0 (2025-10-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251005
|
|
@@ -1458,8 +1458,9 @@ module Google
|
|
|
1458
1458
|
attr_accessor :operations
|
|
1459
1459
|
|
|
1460
1460
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1461
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
1462
|
-
# when attempting to list all resources across all supported
|
|
1461
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1462
|
+
# For example, when attempting to list all resources across all supported
|
|
1463
|
+
# locations.
|
|
1463
1464
|
# Corresponds to the JSON property `unreachable`
|
|
1464
1465
|
# @return [Array<String>]
|
|
1465
1466
|
attr_accessor :unreachable
|
|
@@ -1502,6 +1503,32 @@ module Google
|
|
|
1502
1503
|
end
|
|
1503
1504
|
end
|
|
1504
1505
|
|
|
1506
|
+
# A response to `ListSupportedPermissionsRequest`.
|
|
1507
|
+
class ListSupportedPermissionsResponse
|
|
1508
|
+
include Google::Apis::Core::Hashable
|
|
1509
|
+
|
|
1510
|
+
# The pagination token to retrieve the next page of results. If the value is
|
|
1511
|
+
# empty, no further results remain.
|
|
1512
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1513
|
+
# @return [String]
|
|
1514
|
+
attr_accessor :next_page_token
|
|
1515
|
+
|
|
1516
|
+
# List of VPC-SC supported permissions.
|
|
1517
|
+
# Corresponds to the JSON property `supportedPermissions`
|
|
1518
|
+
# @return [Array<String>]
|
|
1519
|
+
attr_accessor :supported_permissions
|
|
1520
|
+
|
|
1521
|
+
def initialize(**args)
|
|
1522
|
+
update!(**args)
|
|
1523
|
+
end
|
|
1524
|
+
|
|
1525
|
+
# Update properties of this object
|
|
1526
|
+
def update!(**args)
|
|
1527
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1528
|
+
@supported_permissions = args[:supported_permissions] if args.key?(:supported_permissions)
|
|
1529
|
+
end
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1505
1532
|
# A response to `ListSupportedServicesRequest`.
|
|
1506
1533
|
class ListSupportedServicesResponse
|
|
1507
1534
|
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.
|
|
19
|
+
GEM_VERSION = "0.62.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260215"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -256,6 +256,12 @@ module Google
|
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
+
class ListSupportedPermissionsResponse
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
259
265
|
class ListSupportedServicesResponse
|
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
267
|
|
|
@@ -746,6 +752,14 @@ module Google
|
|
|
746
752
|
end
|
|
747
753
|
end
|
|
748
754
|
|
|
755
|
+
class ListSupportedPermissionsResponse
|
|
756
|
+
# @private
|
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
758
|
+
property :next_page_token, as: 'nextPageToken'
|
|
759
|
+
collection :supported_permissions, as: 'supportedPermissions'
|
|
760
|
+
end
|
|
761
|
+
end
|
|
762
|
+
|
|
749
763
|
class ListSupportedServicesResponse
|
|
750
764
|
# @private
|
|
751
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1220,11 +1220,12 @@ module Google
|
|
|
1220
1220
|
# The standard list page token.
|
|
1221
1221
|
# @param [Boolean] return_partial_success
|
|
1222
1222
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1223
|
-
# those that are unreachable are returned in the
|
|
1224
|
-
# unreachable
|
|
1225
|
-
#
|
|
1226
|
-
# by default
|
|
1227
|
-
# explicitly documented otherwise in service or product specific
|
|
1223
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
1224
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
1225
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
1226
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
1227
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
1228
|
+
# documentation.
|
|
1228
1229
|
# @param [String] fields
|
|
1229
1230
|
# Selector specifying which fields to include in a partial response.
|
|
1230
1231
|
# @param [String] quota_user
|
|
@@ -1448,6 +1449,40 @@ module Google
|
|
|
1448
1449
|
execute_or_queue_command(command, &block)
|
|
1449
1450
|
end
|
|
1450
1451
|
|
|
1452
|
+
# Lists all supported permissions in VPCSC Granular Controls.
|
|
1453
|
+
# @param [Fixnum] page_size
|
|
1454
|
+
# Optional. This flag specifies the maximum number of services to return per
|
|
1455
|
+
# page. Default is 100.
|
|
1456
|
+
# @param [String] page_token
|
|
1457
|
+
# Optional. Token to start on a later page. Default is the first page.
|
|
1458
|
+
# @param [String] fields
|
|
1459
|
+
# Selector specifying which fields to include in a partial response.
|
|
1460
|
+
# @param [String] quota_user
|
|
1461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1463
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1464
|
+
# Request-specific options
|
|
1465
|
+
#
|
|
1466
|
+
# @yield [result, err] Result & error if block supplied
|
|
1467
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::ListSupportedPermissionsResponse] parsed result object
|
|
1468
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1469
|
+
#
|
|
1470
|
+
# @return [Google::Apis::AccesscontextmanagerV1::ListSupportedPermissionsResponse]
|
|
1471
|
+
#
|
|
1472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1475
|
+
def list_permissions(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1476
|
+
command = make_simple_command(:get, 'v1/permissions', options)
|
|
1477
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListSupportedPermissionsResponse::Representation
|
|
1478
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::ListSupportedPermissionsResponse
|
|
1479
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1480
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1481
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1483
|
+
execute_or_queue_command(command, &block)
|
|
1484
|
+
end
|
|
1485
|
+
|
|
1451
1486
|
# Returns a VPC-SC supported service based on the service name.
|
|
1452
1487
|
# @param [String] name
|
|
1453
1488
|
# The name of the service to get information about. The names must be in the
|
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.62.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.62.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:
|