google-apis-accesscontextmanager_v1 0.67.0 → 0.68.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad9be6a2cc50ff1c1b0d53d297fa52fed3137f0359550e35e429172e358aa0b1
|
|
4
|
+
data.tar.gz: 834ecb294808e06c1cc26fa226a8bb74be21b2b3f935d3c79786d4f10f711f4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f114059ac975d139dcfe2630611f1b3dd1a346c129503d70b77b10deb4747a939a4451b94f57f2f0f50d82b75f239f4e1ba7451ead6e37bb4ccef7595ab085c
|
|
7
|
+
data.tar.gz: 74574f830e6f07450923b0c8bd4f56662e2ccc1a6dece7bacaa6a79bebc6028d9e0fa7fcdb1252835fbaba75aa36c823ab9e0c26d3ce42eac18125680c7f7452
|
data/CHANGELOG.md
CHANGED
|
@@ -198,6 +198,31 @@ module Google
|
|
|
198
198
|
end
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
+
# Adds a request header to the API.
|
|
202
|
+
class AddRequestHeader
|
|
203
|
+
include Google::Apis::Core::Hashable
|
|
204
|
+
|
|
205
|
+
# HTTP header key.
|
|
206
|
+
# Corresponds to the JSON property `key`
|
|
207
|
+
# @return [String]
|
|
208
|
+
attr_accessor :key
|
|
209
|
+
|
|
210
|
+
# HTTP header value.
|
|
211
|
+
# Corresponds to the JSON property `value`
|
|
212
|
+
# @return [String]
|
|
213
|
+
attr_accessor :value
|
|
214
|
+
|
|
215
|
+
def initialize(**args)
|
|
216
|
+
update!(**args)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Update properties of this object
|
|
220
|
+
def update!(**args)
|
|
221
|
+
@key = args[:key] if args.key?(:key)
|
|
222
|
+
@value = args[:value] if args.key?(:value)
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
|
|
201
226
|
# Identification for an API Operation.
|
|
202
227
|
class ApiOperation
|
|
203
228
|
include Google::Apis::Core::Hashable
|
|
@@ -892,6 +917,11 @@ module Google
|
|
|
892
917
|
# @return [String]
|
|
893
918
|
attr_accessor :access_level
|
|
894
919
|
|
|
920
|
+
# Specifies the Private Service Connect endpoint that an API call refers to.
|
|
921
|
+
# Corresponds to the JSON property `pscEndpoint`
|
|
922
|
+
# @return [Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint]
|
|
923
|
+
attr_accessor :psc_endpoint
|
|
924
|
+
|
|
895
925
|
# A Google Cloud resource from the service perimeter that you want to allow to
|
|
896
926
|
# access data outside the perimeter. This field supports only projects. The
|
|
897
927
|
# project format is `projects/`project_number``. You can't use `*` in this field
|
|
@@ -907,6 +937,7 @@ module Google
|
|
|
907
937
|
# Update properties of this object
|
|
908
938
|
def update!(**args)
|
|
909
939
|
@access_level = args[:access_level] if args.key?(:access_level)
|
|
940
|
+
@psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint)
|
|
910
941
|
@resource = args[:resource] if args.key?(:resource)
|
|
911
942
|
end
|
|
912
943
|
end
|
|
@@ -1277,6 +1308,11 @@ module Google
|
|
|
1277
1308
|
# @return [String]
|
|
1278
1309
|
attr_accessor :access_level
|
|
1279
1310
|
|
|
1311
|
+
# Specifies the Private Service Connect endpoint that an API call refers to.
|
|
1312
|
+
# Corresponds to the JSON property `pscEndpoint`
|
|
1313
|
+
# @return [Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint]
|
|
1314
|
+
attr_accessor :psc_endpoint
|
|
1315
|
+
|
|
1280
1316
|
# A Google Cloud resource that is allowed to ingress the perimeter. Requests
|
|
1281
1317
|
# from these resources will be allowed to access perimeter data. Currently only
|
|
1282
1318
|
# projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
|
|
@@ -1295,6 +1331,7 @@ module Google
|
|
|
1295
1331
|
# Update properties of this object
|
|
1296
1332
|
def update!(**args)
|
|
1297
1333
|
@access_level = args[:access_level] if args.key?(:access_level)
|
|
1334
|
+
@psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint)
|
|
1298
1335
|
@resource = args[:resource] if args.key?(:resource)
|
|
1299
1336
|
end
|
|
1300
1337
|
end
|
|
@@ -1581,6 +1618,25 @@ module Google
|
|
|
1581
1618
|
end
|
|
1582
1619
|
end
|
|
1583
1620
|
|
|
1621
|
+
# Modifier to apply to the API requests.
|
|
1622
|
+
class Modifier
|
|
1623
|
+
include Google::Apis::Core::Hashable
|
|
1624
|
+
|
|
1625
|
+
# Adds a request header to the API.
|
|
1626
|
+
# Corresponds to the JSON property `addRequestHeader`
|
|
1627
|
+
# @return [Google::Apis::AccesscontextmanagerV1::AddRequestHeader]
|
|
1628
|
+
attr_accessor :add_request_header
|
|
1629
|
+
|
|
1630
|
+
def initialize(**args)
|
|
1631
|
+
update!(**args)
|
|
1632
|
+
end
|
|
1633
|
+
|
|
1634
|
+
# Update properties of this object
|
|
1635
|
+
def update!(**args)
|
|
1636
|
+
@add_request_header = args[:add_request_header] if args.key?(:add_request_header)
|
|
1637
|
+
end
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1584
1640
|
# This resource represents a long-running operation that is the result of a
|
|
1585
1641
|
# network API call.
|
|
1586
1642
|
class Operation
|
|
@@ -1775,6 +1831,27 @@ module Google
|
|
|
1775
1831
|
end
|
|
1776
1832
|
end
|
|
1777
1833
|
|
|
1834
|
+
# Specifies the Private Service Connect endpoint that an API call refers to.
|
|
1835
|
+
class PrivateServiceConnectEndpoint
|
|
1836
|
+
include Google::Apis::Core::Hashable
|
|
1837
|
+
|
|
1838
|
+
# The full resource name of the global forwarding rule that identifies a Private
|
|
1839
|
+
# Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/
|
|
1840
|
+
# projects/`PROJECT_ID`/global/forwardingRules/`FORWARDING_RULE_ID``.
|
|
1841
|
+
# Corresponds to the JSON property `forwardingRule`
|
|
1842
|
+
# @return [String]
|
|
1843
|
+
attr_accessor :forwarding_rule
|
|
1844
|
+
|
|
1845
|
+
def initialize(**args)
|
|
1846
|
+
update!(**args)
|
|
1847
|
+
end
|
|
1848
|
+
|
|
1849
|
+
# Update properties of this object
|
|
1850
|
+
def update!(**args)
|
|
1851
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
|
1852
|
+
end
|
|
1853
|
+
end
|
|
1854
|
+
|
|
1778
1855
|
# A request to replace all existing Access Levels in an Access Policy with the
|
|
1779
1856
|
# Access Levels provided. This is done atomically.
|
|
1780
1857
|
class ReplaceAccessLevelsRequest
|
|
@@ -1913,6 +1990,39 @@ module Google
|
|
|
1913
1990
|
end
|
|
1914
1991
|
end
|
|
1915
1992
|
|
|
1993
|
+
# Service patterns used to allow access.
|
|
1994
|
+
class ServicePattern
|
|
1995
|
+
include Google::Apis::Core::Hashable
|
|
1996
|
+
|
|
1997
|
+
# Modifiers to apply to the requests that match the URL pattern.
|
|
1998
|
+
# Corresponds to the JSON property `modifiers`
|
|
1999
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::Modifier>]
|
|
2000
|
+
attr_accessor :modifiers
|
|
2001
|
+
|
|
2002
|
+
# URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
|
|
2003
|
+
# com//*" and "*.appspot.com/* forms are supported, where should be
|
|
2004
|
+
# alphanumerical name.
|
|
2005
|
+
# Corresponds to the JSON property `pattern`
|
|
2006
|
+
# @return [String]
|
|
2007
|
+
attr_accessor :pattern
|
|
2008
|
+
|
|
2009
|
+
# Supported service to allow.
|
|
2010
|
+
# Corresponds to the JSON property `service`
|
|
2011
|
+
# @return [String]
|
|
2012
|
+
attr_accessor :service
|
|
2013
|
+
|
|
2014
|
+
def initialize(**args)
|
|
2015
|
+
update!(**args)
|
|
2016
|
+
end
|
|
2017
|
+
|
|
2018
|
+
# Update properties of this object
|
|
2019
|
+
def update!(**args)
|
|
2020
|
+
@modifiers = args[:modifiers] if args.key?(:modifiers)
|
|
2021
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
2022
|
+
@service = args[:service] if args.key?(:service)
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
1916
2026
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
|
1917
2027
|
# import and export data amongst themselves, but not export outside of the `
|
|
1918
2028
|
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
|
@@ -2324,6 +2434,12 @@ module Google
|
|
|
2324
2434
|
class VpcAccessibleServices
|
|
2325
2435
|
include Google::Apis::Core::Hashable
|
|
2326
2436
|
|
|
2437
|
+
# Specifies which Google services are allowed to be accessed from VPC networks
|
|
2438
|
+
# in the service perimeter.
|
|
2439
|
+
# Corresponds to the JSON property `allowedServicePatterns`
|
|
2440
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::ServicePattern>]
|
|
2441
|
+
attr_accessor :allowed_service_patterns
|
|
2442
|
+
|
|
2327
2443
|
# The list of APIs usable within the Service Perimeter. Must be empty unless '
|
|
2328
2444
|
# enable_restriction' is True. You can specify a list of individual services, as
|
|
2329
2445
|
# well as include the 'RESTRICTED-SERVICES' value, which automatically includes
|
|
@@ -2339,14 +2455,21 @@ module Google
|
|
|
2339
2455
|
attr_accessor :enable_restriction
|
|
2340
2456
|
alias_method :enable_restriction?, :enable_restriction
|
|
2341
2457
|
|
|
2458
|
+
# Defines the enforcement scopes of service patterns.
|
|
2459
|
+
# Corresponds to the JSON property `servicePatternsEnforcementScopes`
|
|
2460
|
+
# @return [Array<String>]
|
|
2461
|
+
attr_accessor :service_patterns_enforcement_scopes
|
|
2462
|
+
|
|
2342
2463
|
def initialize(**args)
|
|
2343
2464
|
update!(**args)
|
|
2344
2465
|
end
|
|
2345
2466
|
|
|
2346
2467
|
# Update properties of this object
|
|
2347
2468
|
def update!(**args)
|
|
2469
|
+
@allowed_service_patterns = args[:allowed_service_patterns] if args.key?(:allowed_service_patterns)
|
|
2348
2470
|
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
|
|
2349
2471
|
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
|
|
2472
|
+
@service_patterns_enforcement_scopes = args[:service_patterns_enforcement_scopes] if args.key?(:service_patterns_enforcement_scopes)
|
|
2350
2473
|
end
|
|
2351
2474
|
end
|
|
2352
2475
|
|
|
@@ -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.68.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 = "20260707"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -52,6 +52,12 @@ module Google
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
class AddRequestHeader
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
class ApiOperation
|
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
63
|
|
|
@@ -274,6 +280,12 @@ module Google
|
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
281
|
end
|
|
276
282
|
|
|
283
|
+
class Modifier
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
277
289
|
class Operation
|
|
278
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
291
|
|
|
@@ -292,6 +304,12 @@ module Google
|
|
|
292
304
|
include Google::Apis::Core::JsonObjectSupport
|
|
293
305
|
end
|
|
294
306
|
|
|
307
|
+
class PrivateServiceConnectEndpoint
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
295
313
|
class ReplaceAccessLevelsRequest
|
|
296
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
315
|
|
|
@@ -322,6 +340,12 @@ module Google
|
|
|
322
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
341
|
end
|
|
324
342
|
|
|
343
|
+
class ServicePattern
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
325
349
|
class ServicePerimeter
|
|
326
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
351
|
|
|
@@ -435,6 +459,14 @@ module Google
|
|
|
435
459
|
end
|
|
436
460
|
end
|
|
437
461
|
|
|
462
|
+
class AddRequestHeader
|
|
463
|
+
# @private
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
465
|
+
property :key, as: 'key'
|
|
466
|
+
property :value, as: 'value'
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
|
|
438
470
|
class ApiOperation
|
|
439
471
|
# @private
|
|
440
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -590,6 +622,8 @@ module Google
|
|
|
590
622
|
# @private
|
|
591
623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
592
624
|
property :access_level, as: 'accessLevel'
|
|
625
|
+
property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint, decorator: Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint::Representation
|
|
626
|
+
|
|
593
627
|
property :resource, as: 'resource'
|
|
594
628
|
end
|
|
595
629
|
end
|
|
@@ -683,6 +717,8 @@ module Google
|
|
|
683
717
|
# @private
|
|
684
718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
685
719
|
property :access_level, as: 'accessLevel'
|
|
720
|
+
property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint, decorator: Google::Apis::AccesscontextmanagerV1::PrivateServiceConnectEndpoint::Representation
|
|
721
|
+
|
|
686
722
|
property :resource, as: 'resource'
|
|
687
723
|
end
|
|
688
724
|
end
|
|
@@ -777,6 +813,14 @@ module Google
|
|
|
777
813
|
end
|
|
778
814
|
end
|
|
779
815
|
|
|
816
|
+
class Modifier
|
|
817
|
+
# @private
|
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
819
|
+
property :add_request_header, as: 'addRequestHeader', class: Google::Apis::AccesscontextmanagerV1::AddRequestHeader, decorator: Google::Apis::AccesscontextmanagerV1::AddRequestHeader::Representation
|
|
820
|
+
|
|
821
|
+
end
|
|
822
|
+
end
|
|
823
|
+
|
|
780
824
|
class Operation
|
|
781
825
|
# @private
|
|
782
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -810,6 +854,13 @@ module Google
|
|
|
810
854
|
end
|
|
811
855
|
end
|
|
812
856
|
|
|
857
|
+
class PrivateServiceConnectEndpoint
|
|
858
|
+
# @private
|
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
860
|
+
property :forwarding_rule, as: 'forwardingRule'
|
|
861
|
+
end
|
|
862
|
+
end
|
|
863
|
+
|
|
813
864
|
class ReplaceAccessLevelsRequest
|
|
814
865
|
# @private
|
|
815
866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -856,6 +907,16 @@ module Google
|
|
|
856
907
|
end
|
|
857
908
|
end
|
|
858
909
|
|
|
910
|
+
class ServicePattern
|
|
911
|
+
# @private
|
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
913
|
+
collection :modifiers, as: 'modifiers', class: Google::Apis::AccesscontextmanagerV1::Modifier, decorator: Google::Apis::AccesscontextmanagerV1::Modifier::Representation
|
|
914
|
+
|
|
915
|
+
property :pattern, as: 'pattern'
|
|
916
|
+
property :service, as: 'service'
|
|
917
|
+
end
|
|
918
|
+
end
|
|
919
|
+
|
|
859
920
|
class ServicePerimeter
|
|
860
921
|
# @private
|
|
861
922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -947,8 +1008,11 @@ module Google
|
|
|
947
1008
|
class VpcAccessibleServices
|
|
948
1009
|
# @private
|
|
949
1010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1011
|
+
collection :allowed_service_patterns, as: 'allowedServicePatterns', class: Google::Apis::AccesscontextmanagerV1::ServicePattern, decorator: Google::Apis::AccesscontextmanagerV1::ServicePattern::Representation
|
|
1012
|
+
|
|
950
1013
|
collection :allowed_services, as: 'allowedServices'
|
|
951
1014
|
property :enable_restriction, as: 'enableRestriction'
|
|
1015
|
+
collection :service_patterns_enforcement_scopes, as: 'servicePatternsEnforcementScopes'
|
|
952
1016
|
end
|
|
953
1017
|
end
|
|
954
1018
|
|
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.68.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.68.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:
|