google-apis-accesscontextmanager_v1 0.61.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 +4 -0
- data/lib/google/apis/accesscontextmanager_v1/classes.rb +26 -0
- 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 +34 -0
- 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
|
@@ -1503,6 +1503,32 @@ module Google
|
|
|
1503
1503
|
end
|
|
1504
1504
|
end
|
|
1505
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
|
+
|
|
1506
1532
|
# A response to `ListSupportedServicesRequest`.
|
|
1507
1533
|
class ListSupportedServicesResponse
|
|
1508
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
|
|
@@ -1449,6 +1449,40 @@ module Google
|
|
|
1449
1449
|
execute_or_queue_command(command, &block)
|
|
1450
1450
|
end
|
|
1451
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
|
+
|
|
1452
1486
|
# Returns a VPC-SC supported service based on the service name.
|
|
1453
1487
|
# @param [String] name
|
|
1454
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:
|