google-apis-accesscontextmanager_v1 0.50.0 → 0.52.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: 1e88997a017859654b25d16d243d31516d5581774777c3cdc7fc87e198695f88
4
- data.tar.gz: 952d9c6aff6bdf214bdc9a222e8a6932540d06c2f3d860d661d3e29c3e749dd2
3
+ metadata.gz: 72f9fab7d2ba7ea644afc088f68833c236c45f4c77430508efbd03c71c162878
4
+ data.tar.gz: c3263f29c348be24f6395b6319c842641535a4274e0e08f488061b92b89ec80b
5
5
  SHA512:
6
- metadata.gz: 145239d19c1e5a536e457f4d3d9ad6d2c6d15dd8d88b9d5f6a63b0235e44570aeb0314867b90d13097a3cb3a9b7d98ba10bf9586ffea1e863370ad44540df6bf
7
- data.tar.gz: 1c730b4086067e94f1857849ec6684686546c7997212591ce97daabc37099e7569459fd23ab656fa13c9fc932d7755d18a7bbc6a9858a535595be0a72ad5978d
6
+ metadata.gz: b104d87ce934f7a93f0864a3ab143918a3001b23650bf47a51f24573fa91043fef09f97425f213331d86e56021a68455f0d58ca67c4a835ed4e5ff4c4b67650f
7
+ data.tar.gz: 634e1009ac7d617bdfea63d774965033b61298c7c60437d65bae7446012cd87a0288f21474914e9e4a5e0ffc5c988218d08d37afb40960dab00dc2e12584eb80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.52.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241119
6
+
7
+ ### v0.51.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241028
10
+
3
11
  ### v0.50.0 (2024-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20241022
@@ -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
 
@@ -1021,7 +1022,7 @@ module Google
1021
1022
  end
1022
1023
 
1023
1024
  # Restricts access to Cloud Console and Google Cloud APIs for a set of users
1024
- # using Context-Aware Access. Next ID: 11
1025
+ # using Context-Aware Access.
1025
1026
  class GcpUserAccessBinding
1026
1027
  include Google::Apis::Core::Hashable
1027
1028
 
@@ -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.
@@ -1080,6 +1074,13 @@ module Google
1080
1074
  # @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
1081
1075
  attr_accessor :scoped_access_settings
1082
1076
 
1077
+ # Stores settings related to Google Cloud Session Length including session
1078
+ # duration, the type of challenge (i.e. method) they should face when their
1079
+ # session expires, and other related settings.
1080
+ # Corresponds to the JSON property `sessionSettings`
1081
+ # @return [Google::Apis::AccesscontextmanagerV1::SessionSettings]
1082
+ attr_accessor :session_settings
1083
+
1083
1084
  def initialize(**args)
1084
1085
  update!(**args)
1085
1086
  end
@@ -1090,9 +1091,9 @@ module Google
1090
1091
  @dry_run_access_levels = args[:dry_run_access_levels] if args.key?(:dry_run_access_levels)
1091
1092
  @group_key = args[:group_key] if args.key?(:group_key)
1092
1093
  @name = args[:name] if args.key?(:name)
1093
- @reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings)
1094
1094
  @restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
1095
1095
  @scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
1096
+ @session_settings = args[:session_settings] if args.key?(:session_settings)
1096
1097
  end
1097
1098
  end
1098
1099
 
@@ -1226,6 +1227,14 @@ module Google
1226
1227
  # @return [Google::Apis::AccesscontextmanagerV1::IngressTo]
1227
1228
  attr_accessor :ingress_to
1228
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
+
1229
1238
  def initialize(**args)
1230
1239
  update!(**args)
1231
1240
  end
@@ -1234,6 +1243,7 @@ module Google
1234
1243
  def update!(**args)
1235
1244
  @ingress_from = args[:ingress_from] if args.key?(:ingress_from)
1236
1245
  @ingress_to = args[:ingress_to] if args.key?(:ingress_to)
1246
+ @title = args[:title] if args.key?(:title)
1237
1247
  end
1238
1248
  end
1239
1249
 
@@ -1709,61 +1719,6 @@ module Google
1709
1719
  end
1710
1720
  end
1711
1721
 
1712
- # Stores settings related to Google Cloud Session Length including session
1713
- # duration, the type of challenge (i.e. method) they should face when their
1714
- # session expires, and other related settings.
1715
- class ReauthSettings
1716
- include Google::Apis::Core::Hashable
1717
-
1718
- # Optional. How long a user is allowed to take between actions before a new
1719
- # access token must be issued. Presently only set for Cloud Apps.
1720
- # Corresponds to the JSON property `maxInactivity`
1721
- # @return [String]
1722
- attr_accessor :max_inactivity
1723
-
1724
- # Optional. Reauth method when users GCP session is up.
1725
- # Corresponds to the JSON property `reauthMethod`
1726
- # @return [String]
1727
- attr_accessor :reauth_method
1728
-
1729
- # Optional. The session length. Setting this field to zero is equal to disabling.
1730
- # Reauth. Also can set infinite session by flipping the enabled bit to false
1731
- # below. If use_oidc_max_age is true, for OIDC apps, the session length will be
1732
- # the minimum of this field and OIDC max_age param.
1733
- # Corresponds to the JSON property `sessionLength`
1734
- # @return [String]
1735
- attr_accessor :session_length
1736
-
1737
- # Optional. Big red button to turn off GCSL. When false, all fields set above
1738
- # will be disregarded and the session length is basically infinite.
1739
- # Corresponds to the JSON property `sessionLengthEnabled`
1740
- # @return [Boolean]
1741
- attr_accessor :session_length_enabled
1742
- alias_method :session_length_enabled?, :session_length_enabled
1743
-
1744
- # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if
1745
- # passed in the authentication request will be ignored. When true, the re-auth
1746
- # period will be the minimum of the session_length field and the max_age OIDC
1747
- # param.
1748
- # Corresponds to the JSON property `useOidcMaxAge`
1749
- # @return [Boolean]
1750
- attr_accessor :use_oidc_max_age
1751
- alias_method :use_oidc_max_age?, :use_oidc_max_age
1752
-
1753
- def initialize(**args)
1754
- update!(**args)
1755
- end
1756
-
1757
- # Update properties of this object
1758
- def update!(**args)
1759
- @max_inactivity = args[:max_inactivity] if args.key?(:max_inactivity)
1760
- @reauth_method = args[:reauth_method] if args.key?(:reauth_method)
1761
- @session_length = args[:session_length] if args.key?(:session_length)
1762
- @session_length_enabled = args[:session_length_enabled] if args.key?(:session_length_enabled)
1763
- @use_oidc_max_age = args[:use_oidc_max_age] if args.key?(:use_oidc_max_age)
1764
- end
1765
- end
1766
-
1767
1722
  # A request to replace all existing Access Levels in an Access Policy with the
1768
1723
  # Access Levels provided. This is done atomically.
1769
1724
  class ReplaceAccessLevelsRequest
@@ -1920,6 +1875,14 @@ module Google
1920
1875
  # @return [String]
1921
1876
  attr_accessor :description
1922
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
+
1923
1886
  # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/`
1924
1887
  # access_policy`/servicePerimeters/`service_perimeter``. The `service_perimeter`
1925
1888
  # component must begin with a letter, followed by alphanumeric characters or `_`.
@@ -1975,6 +1938,7 @@ module Google
1975
1938
  # Update properties of this object
1976
1939
  def update!(**args)
1977
1940
  @description = args[:description] if args.key?(:description)
1941
+ @etag = args[:etag] if args.key?(:etag)
1978
1942
  @name = args[:name] if args.key?(:name)
1979
1943
  @perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
1980
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.50.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 = "20241022"
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,12 +620,12 @@ 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
635
626
 
627
+ property :session_settings, as: 'sessionSettings', class: Google::Apis::AccesscontextmanagerV1::SessionSettings, decorator: Google::Apis::AccesscontextmanagerV1::SessionSettings::Representation
628
+
636
629
  end
637
630
  end
638
631
 
@@ -674,6 +667,7 @@ module Google
674
667
 
675
668
  property :ingress_to, as: 'ingressTo', class: Google::Apis::AccesscontextmanagerV1::IngressTo, decorator: Google::Apis::AccesscontextmanagerV1::IngressTo::Representation
676
669
 
670
+ property :title, as: 'title'
677
671
  end
678
672
  end
679
673
 
@@ -798,17 +792,6 @@ module Google
798
792
  end
799
793
  end
800
794
 
801
- class ReauthSettings
802
- # @private
803
- class Representation < Google::Apis::Core::JsonRepresentation
804
- property :max_inactivity, as: 'maxInactivity'
805
- property :reauth_method, as: 'reauthMethod'
806
- property :session_length, as: 'sessionLength'
807
- property :session_length_enabled, as: 'sessionLengthEnabled'
808
- property :use_oidc_max_age, as: 'useOidcMaxAge'
809
- end
810
- end
811
-
812
795
  class ReplaceAccessLevelsRequest
813
796
  # @private
814
797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -859,6 +842,7 @@ module Google
859
842
  # @private
860
843
  class Representation < Google::Apis::Core::JsonRepresentation
861
844
  property :description, as: 'description'
845
+ property :etag, as: 'etag'
862
846
  property :name, as: 'name'
863
847
  property :perimeter_type, as: 'perimeterType'
864
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
@@ -1398,11 +1398,12 @@ module Google
1398
1398
  # Optional. This field controls whether or not certain repeated settings in the
1399
1399
  # update request overwrite or append to existing settings on the binding. If
1400
1400
  # true, then append. Otherwise overwrite. So far, only scoped_access_settings
1401
- # supports appending. Global access_levels, dry_run_access_levels,
1402
- # reauth_settings, and session_settings are not compatible with append
1403
- # functionality, and the request will return an error if append=true when these
1404
- # settings are in the update_mask. The request will also return an error if
1405
- # append=true when "scoped_access_settings" is not set in the update_mask.
1401
+ # with reauth_settings supports appending. Global access_levels, access_levels
1402
+ # in scoped_access_settings, dry_run_access_levels, reauth_settings, and
1403
+ # session_settings are not compatible with append functionality, and the request
1404
+ # will return an error if append=true when these settings are in the update_mask.
1405
+ # The request will also return an error if append=true when "
1406
+ # scoped_access_settings" is not set in the update_mask.
1406
1407
  # @param [String] update_mask
1407
1408
  # Required. Only the fields specified in this mask are updated. Because name and
1408
1409
  # group_key cannot be changed, update_mask is required and may only contain the
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.50.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-10-27 00:00:00.000000000 Z
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.50.0
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.21
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