google-apis-accesscontextmanager_v1 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/accesscontextmanager_v1/classes.rb +27 -71
- data/lib/google/apis/accesscontextmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/accesscontextmanager_v1/representations.rb +3 -21
- data/lib/google/apis/accesscontextmanager_v1/service.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72f9fab7d2ba7ea644afc088f68833c236c45f4c77430508efbd03c71c162878
|
4
|
+
data.tar.gz: c3263f29c348be24f6395b6319c842641535a4274e0e08f488061b92b89ec80b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b104d87ce934f7a93f0864a3ab143918a3001b23650bf47a51f24573fa91043fef09f97425f213331d86e56021a68455f0d58ca67c4a835ed4e5ff4c4b67650f
|
7
|
+
data.tar.gz: 634e1009ac7d617bdfea63d774965033b61298c7c60437d65bae7446012cd87a0288f21474914e9e4a5e0ffc5c988218d08d37afb40960dab00dc2e12584eb80
|
data/CHANGELOG.md
CHANGED
@@ -180,13 +180,6 @@ module Google
|
|
180
180
|
# @return [Array<String>]
|
181
181
|
attr_accessor :access_levels
|
182
182
|
|
183
|
-
# Stores settings related to Google Cloud Session Length including session
|
184
|
-
# duration, the type of challenge (i.e. method) they should face when their
|
185
|
-
# session expires, and other related settings.
|
186
|
-
# Corresponds to the JSON property `reauthSettings`
|
187
|
-
# @return [Google::Apis::AccesscontextmanagerV1::ReauthSettings]
|
188
|
-
attr_accessor :reauth_settings
|
189
|
-
|
190
183
|
# Stores settings related to Google Cloud Session Length including session
|
191
184
|
# duration, the type of challenge (i.e. method) they should face when their
|
192
185
|
# session expires, and other related settings.
|
@@ -201,7 +194,6 @@ module Google
|
|
201
194
|
# Update properties of this object
|
202
195
|
def update!(**args)
|
203
196
|
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
204
|
-
@reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings)
|
205
197
|
@session_settings = args[:session_settings] if args.key?(:session_settings)
|
206
198
|
end
|
207
199
|
end
|
@@ -864,6 +856,14 @@ module Google
|
|
864
856
|
# @return [Google::Apis::AccesscontextmanagerV1::EgressTo]
|
865
857
|
attr_accessor :egress_to
|
866
858
|
|
859
|
+
# Optional. Human-readable title for the egress rule. The title must be unique
|
860
|
+
# within the perimeter and can not exceed 100 characters. Within the access
|
861
|
+
# policy, the combined length of all rule titles must not exceed 240,000
|
862
|
+
# characters.
|
863
|
+
# Corresponds to the JSON property `title`
|
864
|
+
# @return [String]
|
865
|
+
attr_accessor :title
|
866
|
+
|
867
867
|
def initialize(**args)
|
868
868
|
update!(**args)
|
869
869
|
end
|
@@ -872,6 +872,7 @@ module Google
|
|
872
872
|
def update!(**args)
|
873
873
|
@egress_from = args[:egress_from] if args.key?(:egress_from)
|
874
874
|
@egress_to = args[:egress_to] if args.key?(:egress_to)
|
875
|
+
@title = args[:title] if args.key?(:title)
|
875
876
|
end
|
876
877
|
end
|
877
878
|
|
@@ -1059,13 +1060,6 @@ module Google
|
|
1059
1060
|
# @return [String]
|
1060
1061
|
attr_accessor :name
|
1061
1062
|
|
1062
|
-
# Stores settings related to Google Cloud Session Length including session
|
1063
|
-
# duration, the type of challenge (i.e. method) they should face when their
|
1064
|
-
# session expires, and other related settings.
|
1065
|
-
# Corresponds to the JSON property `reauthSettings`
|
1066
|
-
# @return [Google::Apis::AccesscontextmanagerV1::ReauthSettings]
|
1067
|
-
attr_accessor :reauth_settings
|
1068
|
-
|
1069
1063
|
# Optional. A list of applications that are subject to this binding's
|
1070
1064
|
# restrictions. If the list is empty, the binding restrictions will universally
|
1071
1065
|
# apply to all applications.
|
@@ -1097,7 +1091,6 @@ module Google
|
|
1097
1091
|
@dry_run_access_levels = args[:dry_run_access_levels] if args.key?(:dry_run_access_levels)
|
1098
1092
|
@group_key = args[:group_key] if args.key?(:group_key)
|
1099
1093
|
@name = args[:name] if args.key?(:name)
|
1100
|
-
@reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings)
|
1101
1094
|
@restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
|
1102
1095
|
@scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
|
1103
1096
|
@session_settings = args[:session_settings] if args.key?(:session_settings)
|
@@ -1234,6 +1227,14 @@ module Google
|
|
1234
1227
|
# @return [Google::Apis::AccesscontextmanagerV1::IngressTo]
|
1235
1228
|
attr_accessor :ingress_to
|
1236
1229
|
|
1230
|
+
# Optional. Human-readable title for the ingress rule. The title must be unique
|
1231
|
+
# within the perimeter and can not exceed 100 characters. Within the access
|
1232
|
+
# policy, the combined length of all rule titles must not exceed 240,000
|
1233
|
+
# characters.
|
1234
|
+
# Corresponds to the JSON property `title`
|
1235
|
+
# @return [String]
|
1236
|
+
attr_accessor :title
|
1237
|
+
|
1237
1238
|
def initialize(**args)
|
1238
1239
|
update!(**args)
|
1239
1240
|
end
|
@@ -1242,6 +1243,7 @@ module Google
|
|
1242
1243
|
def update!(**args)
|
1243
1244
|
@ingress_from = args[:ingress_from] if args.key?(:ingress_from)
|
1244
1245
|
@ingress_to = args[:ingress_to] if args.key?(:ingress_to)
|
1246
|
+
@title = args[:title] if args.key?(:title)
|
1245
1247
|
end
|
1246
1248
|
end
|
1247
1249
|
|
@@ -1717,61 +1719,6 @@ module Google
|
|
1717
1719
|
end
|
1718
1720
|
end
|
1719
1721
|
|
1720
|
-
# Stores settings related to Google Cloud Session Length including session
|
1721
|
-
# duration, the type of challenge (i.e. method) they should face when their
|
1722
|
-
# session expires, and other related settings.
|
1723
|
-
class ReauthSettings
|
1724
|
-
include Google::Apis::Core::Hashable
|
1725
|
-
|
1726
|
-
# Optional. How long a user is allowed to take between actions before a new
|
1727
|
-
# access token must be issued. Presently only set for Cloud Apps.
|
1728
|
-
# Corresponds to the JSON property `maxInactivity`
|
1729
|
-
# @return [String]
|
1730
|
-
attr_accessor :max_inactivity
|
1731
|
-
|
1732
|
-
# Optional. Reauth method when users GCP session is up.
|
1733
|
-
# Corresponds to the JSON property `reauthMethod`
|
1734
|
-
# @return [String]
|
1735
|
-
attr_accessor :reauth_method
|
1736
|
-
|
1737
|
-
# Optional. The session length. Setting this field to zero is equal to disabling.
|
1738
|
-
# Reauth. Also can set infinite session by flipping the enabled bit to false
|
1739
|
-
# below. If use_oidc_max_age is true, for OIDC apps, the session length will be
|
1740
|
-
# the minimum of this field and OIDC max_age param.
|
1741
|
-
# Corresponds to the JSON property `sessionLength`
|
1742
|
-
# @return [String]
|
1743
|
-
attr_accessor :session_length
|
1744
|
-
|
1745
|
-
# Optional. Big red button to turn off GCSL. When false, all fields set above
|
1746
|
-
# will be disregarded and the session length is basically infinite.
|
1747
|
-
# Corresponds to the JSON property `sessionLengthEnabled`
|
1748
|
-
# @return [Boolean]
|
1749
|
-
attr_accessor :session_length_enabled
|
1750
|
-
alias_method :session_length_enabled?, :session_length_enabled
|
1751
|
-
|
1752
|
-
# Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if
|
1753
|
-
# passed in the authentication request will be ignored. When true, the re-auth
|
1754
|
-
# period will be the minimum of the session_length field and the max_age OIDC
|
1755
|
-
# param.
|
1756
|
-
# Corresponds to the JSON property `useOidcMaxAge`
|
1757
|
-
# @return [Boolean]
|
1758
|
-
attr_accessor :use_oidc_max_age
|
1759
|
-
alias_method :use_oidc_max_age?, :use_oidc_max_age
|
1760
|
-
|
1761
|
-
def initialize(**args)
|
1762
|
-
update!(**args)
|
1763
|
-
end
|
1764
|
-
|
1765
|
-
# Update properties of this object
|
1766
|
-
def update!(**args)
|
1767
|
-
@max_inactivity = args[:max_inactivity] if args.key?(:max_inactivity)
|
1768
|
-
@reauth_method = args[:reauth_method] if args.key?(:reauth_method)
|
1769
|
-
@session_length = args[:session_length] if args.key?(:session_length)
|
1770
|
-
@session_length_enabled = args[:session_length_enabled] if args.key?(:session_length_enabled)
|
1771
|
-
@use_oidc_max_age = args[:use_oidc_max_age] if args.key?(:use_oidc_max_age)
|
1772
|
-
end
|
1773
|
-
end
|
1774
|
-
|
1775
1722
|
# A request to replace all existing Access Levels in an Access Policy with the
|
1776
1723
|
# Access Levels provided. This is done atomically.
|
1777
1724
|
class ReplaceAccessLevelsRequest
|
@@ -1928,6 +1875,14 @@ module Google
|
|
1928
1875
|
# @return [String]
|
1929
1876
|
attr_accessor :description
|
1930
1877
|
|
1878
|
+
# Optional. An opaque identifier for the current version of the `
|
1879
|
+
# ServicePerimeter`. This identifier does not follow any specific format. If an
|
1880
|
+
# etag is not provided, the operation will be performed as if a valid etag is
|
1881
|
+
# provided.
|
1882
|
+
# Corresponds to the JSON property `etag`
|
1883
|
+
# @return [String]
|
1884
|
+
attr_accessor :etag
|
1885
|
+
|
1931
1886
|
# Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/`
|
1932
1887
|
# access_policy`/servicePerimeters/`service_perimeter``. The `service_perimeter`
|
1933
1888
|
# component must begin with a letter, followed by alphanumeric characters or `_`.
|
@@ -1983,6 +1938,7 @@ module Google
|
|
1983
1938
|
# Update properties of this object
|
1984
1939
|
def update!(**args)
|
1985
1940
|
@description = args[:description] if args.key?(:description)
|
1941
|
+
@etag = args[:etag] if args.key?(:etag)
|
1986
1942
|
@name = args[:name] if args.key?(:name)
|
1987
1943
|
@perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
|
1988
1944
|
@spec = args[:spec] if args.key?(:spec)
|
@@ -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.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,12 +286,6 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class ReauthSettings
|
290
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
-
|
292
|
-
include Google::Apis::Core::JsonObjectSupport
|
293
|
-
end
|
294
|
-
|
295
289
|
class ReplaceAccessLevelsRequest
|
296
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
291
|
|
@@ -430,8 +424,6 @@ module Google
|
|
430
424
|
# @private
|
431
425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
432
426
|
collection :access_levels, as: 'accessLevels'
|
433
|
-
property :reauth_settings, as: 'reauthSettings', class: Google::Apis::AccesscontextmanagerV1::ReauthSettings, decorator: Google::Apis::AccesscontextmanagerV1::ReauthSettings::Representation
|
434
|
-
|
435
427
|
property :session_settings, as: 'sessionSettings', class: Google::Apis::AccesscontextmanagerV1::SessionSettings, decorator: Google::Apis::AccesscontextmanagerV1::SessionSettings::Representation
|
436
428
|
|
437
429
|
end
|
@@ -584,6 +576,7 @@ module Google
|
|
584
576
|
|
585
577
|
property :egress_to, as: 'egressTo', class: Google::Apis::AccesscontextmanagerV1::EgressTo, decorator: Google::Apis::AccesscontextmanagerV1::EgressTo::Representation
|
586
578
|
|
579
|
+
property :title, as: 'title'
|
587
580
|
end
|
588
581
|
end
|
589
582
|
|
@@ -627,8 +620,6 @@ module Google
|
|
627
620
|
collection :dry_run_access_levels, as: 'dryRunAccessLevels'
|
628
621
|
property :group_key, as: 'groupKey'
|
629
622
|
property :name, as: 'name'
|
630
|
-
property :reauth_settings, as: 'reauthSettings', class: Google::Apis::AccesscontextmanagerV1::ReauthSettings, decorator: Google::Apis::AccesscontextmanagerV1::ReauthSettings::Representation
|
631
|
-
|
632
623
|
collection :restricted_client_applications, as: 'restrictedClientApplications', class: Google::Apis::AccesscontextmanagerV1::Application, decorator: Google::Apis::AccesscontextmanagerV1::Application::Representation
|
633
624
|
|
634
625
|
collection :scoped_access_settings, as: 'scopedAccessSettings', class: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings, decorator: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings::Representation
|
@@ -676,6 +667,7 @@ module Google
|
|
676
667
|
|
677
668
|
property :ingress_to, as: 'ingressTo', class: Google::Apis::AccesscontextmanagerV1::IngressTo, decorator: Google::Apis::AccesscontextmanagerV1::IngressTo::Representation
|
678
669
|
|
670
|
+
property :title, as: 'title'
|
679
671
|
end
|
680
672
|
end
|
681
673
|
|
@@ -800,17 +792,6 @@ module Google
|
|
800
792
|
end
|
801
793
|
end
|
802
794
|
|
803
|
-
class ReauthSettings
|
804
|
-
# @private
|
805
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
-
property :max_inactivity, as: 'maxInactivity'
|
807
|
-
property :reauth_method, as: 'reauthMethod'
|
808
|
-
property :session_length, as: 'sessionLength'
|
809
|
-
property :session_length_enabled, as: 'sessionLengthEnabled'
|
810
|
-
property :use_oidc_max_age, as: 'useOidcMaxAge'
|
811
|
-
end
|
812
|
-
end
|
813
|
-
|
814
795
|
class ReplaceAccessLevelsRequest
|
815
796
|
# @private
|
816
797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -861,6 +842,7 @@ module Google
|
|
861
842
|
# @private
|
862
843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
863
844
|
property :description, as: 'description'
|
845
|
+
property :etag, as: 'etag'
|
864
846
|
property :name, as: 'name'
|
865
847
|
property :perimeter_type, as: 'perimeterType'
|
866
848
|
property :spec, as: 'spec', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig::Representation
|
@@ -1110,8 +1110,8 @@ module Google
|
|
1110
1110
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
1111
1111
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
1112
1112
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1113
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
1114
|
-
# corresponding to `Code.CANCELLED`.
|
1113
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1114
|
+
# , corresponding to `Code.CANCELLED`.
|
1115
1115
|
# @param [String] name
|
1116
1116
|
# The name of the operation resource to be cancelled.
|
1117
1117
|
# @param [Google::Apis::AccesscontextmanagerV1::CancelOperationRequest] cancel_operation_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.52.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Access Context Manager API V1
|