google-apis-iap_v1 0.33.0 → 0.35.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 +8 -0
- data/lib/google/apis/iap_v1/classes.rb +15 -0
- data/lib/google/apis/iap_v1/gem_version.rb +2 -2
- data/lib/google/apis/iap_v1/representations.rb +12 -0
- data/lib/google/apis/iap_v1/service.rb +39 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cec385dccbcd0017bf5e7ba9ef963244acb56dd35fd139215c61933ecf9b562
|
4
|
+
data.tar.gz: 609b9bea7f42f3da2e01fd45d0b83263a47d401dfe2ce31f4345b0f09bc79786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb0407441a910e2c47203c32ff49a74d979db8aa33459b36d597190dec4ecb79c0ac783e57ca965e2b4a3ad115852ace8097042639de9a4b473cd9b0ca23c632
|
7
|
+
data.tar.gz: 437bd1cb0e4615fb8b4d19d1924e2cc4323efb414097dfafe748d6d8ad45d070928fa62d5a210206223307141a1c7f377982dc3d2b5863e587b16e5403efc08c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-iap_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2023-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230526
|
6
|
+
|
7
|
+
### v0.34.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230317
|
10
|
+
|
3
11
|
### v0.33.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230303
|
@@ -1103,6 +1103,21 @@ module Google
|
|
1103
1103
|
@name = args[:name] if args.key?(:name)
|
1104
1104
|
end
|
1105
1105
|
end
|
1106
|
+
|
1107
|
+
# API requires a return message, but currently all response strings will fit in
|
1108
|
+
# the status and public message. In the future, this response can hold AST
|
1109
|
+
# validation info.
|
1110
|
+
class ValidateIapAttributeExpressionResponse
|
1111
|
+
include Google::Apis::Core::Hashable
|
1112
|
+
|
1113
|
+
def initialize(**args)
|
1114
|
+
update!(**args)
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
# Update properties of this object
|
1118
|
+
def update!(**args)
|
1119
|
+
end
|
1120
|
+
end
|
1106
1121
|
end
|
1107
1122
|
end
|
1108
1123
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IapV1
|
18
18
|
# Version of the google-apis-iap_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230526"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class ValidateIapAttributeExpressionResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class AccessDeniedPageSettings
|
206
212
|
# @private
|
207
213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -471,6 +477,12 @@ module Google
|
|
471
477
|
property :name, as: 'name'
|
472
478
|
end
|
473
479
|
end
|
480
|
+
|
481
|
+
class ValidateIapAttributeExpressionResponse
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
end
|
485
|
+
end
|
474
486
|
end
|
475
487
|
end
|
476
488
|
end
|
@@ -670,8 +670,10 @@ module Google
|
|
670
670
|
# @param [Google::Apis::IapV1::IapSettings] iap_settings_object
|
671
671
|
# @param [String] update_mask
|
672
672
|
# The field mask specifying which IAP settings should be updated. If omitted,
|
673
|
-
#
|
674
|
-
# protocol-buffers/docs/reference/google.protobuf#fieldmask
|
673
|
+
# then all of the settings are updated. See https://developers.google.com/
|
674
|
+
# protocol-buffers/docs/reference/google.protobuf#fieldmask. Note: All IAP
|
675
|
+
# reauth settings must always be set together, using the field mask: `
|
676
|
+
# iapSettings.accessSettings.reauthSettings`.
|
675
677
|
# @param [String] fields
|
676
678
|
# Selector specifying which fields to include in a partial response.
|
677
679
|
# @param [String] quota_user
|
@@ -701,6 +703,41 @@ module Google
|
|
701
703
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
702
704
|
execute_or_queue_command(command, &block)
|
703
705
|
end
|
706
|
+
|
707
|
+
# Validates a given CEL expression conforms to IAP restrictions.
|
708
|
+
# @param [String] name
|
709
|
+
# Required. The resource name of the IAP protected resource.
|
710
|
+
# @param [String] expression
|
711
|
+
# Required. User input string expression. Should be of the form 'attributes.
|
712
|
+
# saml_attributes.filter(attribute, attribute.name in ['`attribute_name`', '`
|
713
|
+
# attribute_name`'])'
|
714
|
+
# @param [String] fields
|
715
|
+
# Selector specifying which fields to include in a partial response.
|
716
|
+
# @param [String] quota_user
|
717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
719
|
+
# @param [Google::Apis::RequestOptions] options
|
720
|
+
# Request-specific options
|
721
|
+
#
|
722
|
+
# @yield [result, err] Result & error if block supplied
|
723
|
+
# @yieldparam result [Google::Apis::IapV1::ValidateIapAttributeExpressionResponse] parsed result object
|
724
|
+
# @yieldparam err [StandardError] error object if request failed
|
725
|
+
#
|
726
|
+
# @return [Google::Apis::IapV1::ValidateIapAttributeExpressionResponse]
|
727
|
+
#
|
728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
731
|
+
def validate_attribute_expression(name, expression: nil, fields: nil, quota_user: nil, options: nil, &block)
|
732
|
+
command = make_simple_command(:post, 'v1/{+name}:validateAttributeExpression', options)
|
733
|
+
command.response_representation = Google::Apis::IapV1::ValidateIapAttributeExpressionResponse::Representation
|
734
|
+
command.response_class = Google::Apis::IapV1::ValidateIapAttributeExpressionResponse
|
735
|
+
command.params['name'] = name unless name.nil?
|
736
|
+
command.query['expression'] = expression unless expression.nil?
|
737
|
+
command.query['fields'] = fields unless fields.nil?
|
738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
739
|
+
execute_or_queue_command(command, &block)
|
740
|
+
end
|
704
741
|
|
705
742
|
protected
|
706
743
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iap_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.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-
|
11
|
+
date: 2023-06-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-iap_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iap_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|