google-cloud-iap-v1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/client.rb +7 -4
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/client.rb +7 -4
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/client.rb +2 -2
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest/client.rb +2 -2
- data/lib/google/cloud/iap/v1/service_pb.rb +1 -0
- data/lib/google/cloud/iap/v1/version.rb +1 -1
- data/proto_docs/google/cloud/iap/v1/service.rb +8 -2
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- 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: b6eb756be9921f742ff52de166d7e451d21d78c7be248d0231109cc10ca1a9e8
|
4
|
+
data.tar.gz: e656488697f21708f945991ef8c0dccfd27e2040e14546634c25a9e6ad892c16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d46873b5edf38bf82ccfcf6a18f33eab0f68547ca10c7280cd2b6c4b8d5528c67f6cb610fe2a1e950390c751d77fee9072fb4fe06d3929d7da39814b2b4333f
|
7
|
+
data.tar.gz: 10d3f19a80d973bec8eafb85f542482b19367b04c3142b9ec6b4c4c1ea40c9185bfd782ab17be5309663fb8c7ef7ad543fbfa03b6da31b69b585f8c790ce554c
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -544,8 +544,11 @@ module Google
|
|
544
544
|
# resource.
|
545
545
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
546
546
|
# The field mask specifying which IAP settings should be updated.
|
547
|
-
# If omitted,
|
548
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
547
|
+
# If omitted, then all of the settings are updated. See
|
548
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
|
549
|
+
#
|
550
|
+
# Note: All IAP reauth settings must always be set together, using the
|
551
|
+
# field mask: `iapSettings.accessSettings.reauthSettings`.
|
549
552
|
#
|
550
553
|
# @yield [response, operation] Access the result along with the RPC operation
|
551
554
|
# @yieldparam response [::Google::Cloud::Iap::V1::IapSettings]
|
@@ -1114,9 +1117,9 @@ module Google
|
|
1114
1117
|
# * (`String`) The path to a service account key file in JSON format
|
1115
1118
|
# * (`Hash`) A service account key as a Hash
|
1116
1119
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1117
|
-
# (see the [googleauth docs](https://
|
1120
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1118
1121
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1119
|
-
# (see the [signet docs](https://
|
1122
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1120
1123
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1121
1124
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1122
1125
|
# * (`nil`) indicating no credentials
|
@@ -443,8 +443,11 @@ module Google
|
|
443
443
|
# resource.
|
444
444
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
445
445
|
# The field mask specifying which IAP settings should be updated.
|
446
|
-
# If omitted,
|
447
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
446
|
+
# If omitted, then all of the settings are updated. See
|
447
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
|
448
|
+
#
|
449
|
+
# Note: All IAP reauth settings must always be set together, using the
|
450
|
+
# field mask: `iapSettings.accessSettings.reauthSettings`.
|
448
451
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
449
452
|
# @yieldparam result [::Google::Cloud::Iap::V1::IapSettings]
|
450
453
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -871,9 +874,9 @@ module Google
|
|
871
874
|
# * (`String`) The path to a service account key file in JSON format
|
872
875
|
# * (`Hash`) A service account key as a Hash
|
873
876
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
874
|
-
# (see the [googleauth docs](https://
|
877
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
875
878
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
876
|
-
# (see the [signet docs](https://
|
879
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
877
880
|
# * (`nil`) indicating no credentials
|
878
881
|
# @return [::Object]
|
879
882
|
# @!attribute [rw] scope
|
@@ -911,9 +911,9 @@ module Google
|
|
911
911
|
# * (`String`) The path to a service account key file in JSON format
|
912
912
|
# * (`Hash`) A service account key as a Hash
|
913
913
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
914
|
-
# (see the [googleauth docs](https://
|
914
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
915
915
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
916
|
-
# (see the [signet docs](https://
|
916
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
917
917
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
918
918
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
919
919
|
# * (`nil`) indicating no credentials
|
@@ -714,9 +714,9 @@ module Google
|
|
714
714
|
# * (`String`) The path to a service account key file in JSON format
|
715
715
|
# * (`Hash`) A service account key as a Hash
|
716
716
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
717
|
-
# (see the [googleauth docs](https://
|
717
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
718
718
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
719
|
-
# (see the [signet docs](https://
|
719
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
720
720
|
# * (`nil`) indicating no credentials
|
721
721
|
# @return [::Object]
|
722
722
|
# @!attribute [rw] scope
|
@@ -84,6 +84,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
84
84
|
value :LOGIN, 1
|
85
85
|
value :PASSWORD, 2
|
86
86
|
value :SECURE_KEY, 3
|
87
|
+
value :ENROLLED_SECOND_FACTORS, 4
|
87
88
|
end
|
88
89
|
add_enum "google.cloud.iap.v1.ReauthSettings.PolicyType" do
|
89
90
|
value :POLICY_TYPE_UNSPECIFIED, 0
|
@@ -154,8 +154,11 @@ module Google
|
|
154
154
|
# @!attribute [rw] update_mask
|
155
155
|
# @return [::Google::Protobuf::FieldMask]
|
156
156
|
# The field mask specifying which IAP settings should be updated.
|
157
|
-
# If omitted,
|
158
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
157
|
+
# If omitted, then all of the settings are updated. See
|
158
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
|
159
|
+
#
|
160
|
+
# Note: All IAP reauth settings must always be set together, using the
|
161
|
+
# field mask: `iapSettings.accessSettings.reauthSettings`.
|
159
162
|
class UpdateIapSettingsRequest
|
160
163
|
include ::Google::Protobuf::MessageExts
|
161
164
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -270,6 +273,9 @@ module Google
|
|
270
273
|
|
271
274
|
# User must use their secure key 2nd factor device.
|
272
275
|
SECURE_KEY = 3
|
276
|
+
|
277
|
+
# User can use any enabled 2nd factor.
|
278
|
+
ENROLLED_SECOND_FACTORS = 4
|
273
279
|
end
|
274
280
|
|
275
281
|
# Type of policy in the case of hierarchial policies.
|
@@ -35,7 +35,8 @@ module Google
|
|
35
35
|
# only if the expression evaluates to `true`. A condition can add constraints
|
36
36
|
# based on attributes of the request, the resource, or both. To learn which
|
37
37
|
# resources support conditions in their IAM policies, see the
|
38
|
-
# [IAM
|
38
|
+
# [IAM
|
39
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
39
40
|
#
|
40
41
|
# **JSON example:**
|
41
42
|
#
|
@@ -58,7 +59,8 @@ module Google
|
|
58
59
|
# "condition": {
|
59
60
|
# "title": "expirable access",
|
60
61
|
# "description": "Does not grant access after Sep 2020",
|
61
|
-
# "expression": "request.time <
|
62
|
+
# "expression": "request.time <
|
63
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
62
64
|
# }
|
63
65
|
# }
|
64
66
|
# ],
|
@@ -112,7 +114,8 @@ module Google
|
|
112
114
|
# specify any valid version or leave the field unset.
|
113
115
|
#
|
114
116
|
# To learn which resources support conditions in their IAM policies, see the
|
115
|
-
# [IAM
|
117
|
+
# [IAM
|
118
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
116
119
|
# @!attribute [rw] bindings
|
117
120
|
# @return [::Array<::Google::Iam::V1::Binding>]
|
118
121
|
# Associates a list of `members`, or principals, with a `role`. Optionally,
|
@@ -305,7 +308,8 @@ module Google
|
|
305
308
|
# @return [::Array<::String>]
|
306
309
|
# Specifies the identities that do not cause logging for this type of
|
307
310
|
# permission.
|
308
|
-
# Follows the same format of
|
311
|
+
# Follows the same format of
|
312
|
+
# {::Google::Iam::V1::Binding#members Binding.members}.
|
309
313
|
class AuditLogConfig
|
310
314
|
include ::Google::Protobuf::MessageExts
|
311
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-iap-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2023-03-
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|