google-cloud-iap-v1 0.7.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6eb756be9921f742ff52de166d7e451d21d78c7be248d0231109cc10ca1a9e8
4
- data.tar.gz: e656488697f21708f945991ef8c0dccfd27e2040e14546634c25a9e6ad892c16
3
+ metadata.gz: 021a14a8c72720038f9fe10273ddd5cc316a9d48f3c72937eb386fa8fad1b107
4
+ data.tar.gz: 78acd56689f73ff380e30fb4ea9dd6c46c8b0f5eb41606376fa8bb59647f319a
5
5
  SHA512:
6
- metadata.gz: 2d46873b5edf38bf82ccfcf6a18f33eab0f68547ca10c7280cd2b6c4b8d5528c67f6cb610fe2a1e950390c751d77fee9072fb4fe06d3929d7da39814b2b4333f
7
- data.tar.gz: 10d3f19a80d973bec8eafb85f542482b19367b04c3142b9ec6b4c4c1ea40c9185bfd782ab17be5309663fb8c7ef7ad543fbfa03b6da31b69b585f8c790ce554c
6
+ metadata.gz: f7a7598cdb98234c06c44852c87345401c690fc89d4eff56e0a0c9e7da57eb76128cec9de49af38b1afa0b08188edf067273eaa6bb711351fa5cde526a0ab22d
7
+ data.tar.gz: 2d88cd5630a0c84ab4a9ee5f9d0ab7150dd223272043901b5ff5bd57fdbe3ac821b923df5e33d023f420d407ba20a8cf025e2af65bd4b58af52d401ce2158082
@@ -125,7 +125,7 @@ module Google
125
125
  credentials = @config.credentials
126
126
  # Use self-signed JWT if the endpoint is unchanged from default,
127
127
  # but only if the default endpoint does not have a region prefix.
128
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
129
129
  !@config.endpoint.split(".").first.include?("-")
130
130
  credentials ||= Credentials.default scope: @config.scope,
131
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1161,7 +1161,9 @@ module Google
1161
1161
  class Configuration
1162
1162
  extend ::Gapic::Config
1163
1163
 
1164
- config_attr :endpoint, "iap.googleapis.com", ::String
1164
+ DEFAULT_ENDPOINT = "iap.googleapis.com"
1165
+
1166
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1165
1167
  config_attr :credentials, nil do |value|
1166
1168
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1167
1169
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -909,7 +909,9 @@ module Google
909
909
  class Configuration
910
910
  extend ::Gapic::Config
911
911
 
912
- config_attr :endpoint, "iap.googleapis.com", ::String
912
+ DEFAULT_ENDPOINT = "iap.googleapis.com"
913
+
914
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
913
915
  config_attr :credentials, nil do |value|
914
916
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
915
917
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_get_iap_settings_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_update_iap_settings_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_list_tunnel_dest_groups_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_create_tunnel_dest_group_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_get_tunnel_dest_group_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_tunnel_dest_group_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end
@@ -401,7 +401,7 @@ module Google
401
401
 
402
402
  verb, uri, query_string_params, body = ServiceStub.transcode_update_tunnel_dest_group_request request_pb
403
403
  query_string_params = if query_string_params.any?
404
- query_string_params.to_h { |p| p.split("=", 2) }
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
405
  else
406
406
  {}
407
407
  end
@@ -125,7 +125,7 @@ module Google
125
125
  credentials = @config.credentials
126
126
  # Use self-signed JWT if the endpoint is unchanged from default,
127
127
  # but only if the default endpoint does not have a region prefix.
128
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
129
129
  !@config.endpoint.split(".").first.include?("-")
130
130
  credentials ||= Credentials.default scope: @config.scope,
131
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -955,7 +955,9 @@ module Google
955
955
  class Configuration
956
956
  extend ::Gapic::Config
957
957
 
958
- config_attr :endpoint, "iap.googleapis.com", ::String
958
+ DEFAULT_ENDPOINT = "iap.googleapis.com"
959
+
960
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
959
961
  config_attr :credentials, nil do |value|
960
962
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
961
963
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -749,7 +749,9 @@ module Google
749
749
  class Configuration
750
750
  extend ::Gapic::Config
751
751
 
752
- config_attr :endpoint, "iap.googleapis.com", ::String
752
+ DEFAULT_ENDPOINT = "iap.googleapis.com"
753
+
754
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
753
755
  config_attr :credentials, nil do |value|
754
756
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
755
757
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_brands_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_create_brand_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_get_brand_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_create_identity_aware_proxy_client_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_list_identity_aware_proxy_clients_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_get_identity_aware_proxy_client_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_reset_identity_aware_proxy_client_secret_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_identity_aware_proxy_client_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/iap/v1/service.proto
3
4
 
@@ -14,159 +15,34 @@ require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
  require 'google/protobuf/wrappers_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/iap/v1/service.proto", :syntax => :proto3) do
19
- add_message "google.cloud.iap.v1.ListTunnelDestGroupsRequest" do
20
- optional :parent, :string, 1
21
- optional :page_size, :int32, 2
22
- optional :page_token, :string, 3
23
- end
24
- add_message "google.cloud.iap.v1.ListTunnelDestGroupsResponse" do
25
- repeated :tunnel_dest_groups, :message, 1, "google.cloud.iap.v1.TunnelDestGroup"
26
- optional :next_page_token, :string, 2
27
- end
28
- add_message "google.cloud.iap.v1.CreateTunnelDestGroupRequest" do
29
- optional :parent, :string, 1
30
- optional :tunnel_dest_group, :message, 2, "google.cloud.iap.v1.TunnelDestGroup"
31
- optional :tunnel_dest_group_id, :string, 3
32
- end
33
- add_message "google.cloud.iap.v1.GetTunnelDestGroupRequest" do
34
- optional :name, :string, 1
35
- end
36
- add_message "google.cloud.iap.v1.DeleteTunnelDestGroupRequest" do
37
- optional :name, :string, 1
38
- end
39
- add_message "google.cloud.iap.v1.UpdateTunnelDestGroupRequest" do
40
- optional :tunnel_dest_group, :message, 1, "google.cloud.iap.v1.TunnelDestGroup"
41
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
42
- end
43
- add_message "google.cloud.iap.v1.TunnelDestGroup" do
44
- optional :name, :string, 1
45
- repeated :cidrs, :string, 2
46
- repeated :fqdns, :string, 3
47
- end
48
- add_message "google.cloud.iap.v1.GetIapSettingsRequest" do
49
- optional :name, :string, 1
50
- end
51
- add_message "google.cloud.iap.v1.UpdateIapSettingsRequest" do
52
- optional :iap_settings, :message, 1, "google.cloud.iap.v1.IapSettings"
53
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
54
- end
55
- add_message "google.cloud.iap.v1.IapSettings" do
56
- optional :name, :string, 1
57
- optional :access_settings, :message, 5, "google.cloud.iap.v1.AccessSettings"
58
- optional :application_settings, :message, 6, "google.cloud.iap.v1.ApplicationSettings"
59
- end
60
- add_message "google.cloud.iap.v1.AccessSettings" do
61
- optional :gcip_settings, :message, 1, "google.cloud.iap.v1.GcipSettings"
62
- optional :cors_settings, :message, 2, "google.cloud.iap.v1.CorsSettings"
63
- optional :oauth_settings, :message, 3, "google.cloud.iap.v1.OAuthSettings"
64
- optional :reauth_settings, :message, 6, "google.cloud.iap.v1.ReauthSettings"
65
- optional :allowed_domains_settings, :message, 7, "google.cloud.iap.v1.AllowedDomainsSettings"
66
- end
67
- add_message "google.cloud.iap.v1.GcipSettings" do
68
- repeated :tenant_ids, :string, 1
69
- optional :login_page_uri, :message, 2, "google.protobuf.StringValue"
70
- end
71
- add_message "google.cloud.iap.v1.CorsSettings" do
72
- optional :allow_http_options, :message, 1, "google.protobuf.BoolValue"
73
- end
74
- add_message "google.cloud.iap.v1.OAuthSettings" do
75
- optional :login_hint, :message, 2, "google.protobuf.StringValue"
76
- end
77
- add_message "google.cloud.iap.v1.ReauthSettings" do
78
- optional :method, :enum, 1, "google.cloud.iap.v1.ReauthSettings.Method"
79
- optional :max_age, :message, 2, "google.protobuf.Duration"
80
- optional :policy_type, :enum, 3, "google.cloud.iap.v1.ReauthSettings.PolicyType"
81
- end
82
- add_enum "google.cloud.iap.v1.ReauthSettings.Method" do
83
- value :METHOD_UNSPECIFIED, 0
84
- value :LOGIN, 1
85
- value :PASSWORD, 2
86
- value :SECURE_KEY, 3
87
- value :ENROLLED_SECOND_FACTORS, 4
88
- end
89
- add_enum "google.cloud.iap.v1.ReauthSettings.PolicyType" do
90
- value :POLICY_TYPE_UNSPECIFIED, 0
91
- value :MINIMUM, 1
92
- value :DEFAULT, 2
93
- end
94
- add_message "google.cloud.iap.v1.AllowedDomainsSettings" do
95
- proto3_optional :enable, :bool, 1
96
- repeated :domains, :string, 2
97
- end
98
- add_message "google.cloud.iap.v1.ApplicationSettings" do
99
- optional :csm_settings, :message, 1, "google.cloud.iap.v1.CsmSettings"
100
- optional :access_denied_page_settings, :message, 2, "google.cloud.iap.v1.AccessDeniedPageSettings"
101
- optional :cookie_domain, :message, 3, "google.protobuf.StringValue"
102
- optional :attribute_propagation_settings, :message, 4, "google.cloud.iap.v1.AttributePropagationSettings"
103
- end
104
- add_message "google.cloud.iap.v1.CsmSettings" do
105
- optional :rctoken_aud, :message, 1, "google.protobuf.StringValue"
106
- end
107
- add_message "google.cloud.iap.v1.AccessDeniedPageSettings" do
108
- optional :access_denied_page_uri, :message, 1, "google.protobuf.StringValue"
109
- optional :generate_troubleshooting_uri, :message, 2, "google.protobuf.BoolValue"
110
- proto3_optional :remediation_token_generation_enabled, :message, 3, "google.protobuf.BoolValue"
111
- end
112
- add_message "google.cloud.iap.v1.AttributePropagationSettings" do
113
- proto3_optional :expression, :string, 1
114
- repeated :output_credentials, :enum, 2, "google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials"
115
- proto3_optional :enable, :bool, 3
116
- end
117
- add_enum "google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials" do
118
- value :OUTPUT_CREDENTIALS_UNSPECIFIED, 0
119
- value :HEADER, 1
120
- value :JWT, 2
121
- value :RCTOKEN, 3
122
- end
123
- add_message "google.cloud.iap.v1.ListBrandsRequest" do
124
- optional :parent, :string, 1
125
- end
126
- add_message "google.cloud.iap.v1.ListBrandsResponse" do
127
- repeated :brands, :message, 1, "google.cloud.iap.v1.Brand"
128
- end
129
- add_message "google.cloud.iap.v1.CreateBrandRequest" do
130
- optional :parent, :string, 1
131
- optional :brand, :message, 2, "google.cloud.iap.v1.Brand"
132
- end
133
- add_message "google.cloud.iap.v1.GetBrandRequest" do
134
- optional :name, :string, 1
135
- end
136
- add_message "google.cloud.iap.v1.ListIdentityAwareProxyClientsRequest" do
137
- optional :parent, :string, 1
138
- optional :page_size, :int32, 2
139
- optional :page_token, :string, 3
140
- end
141
- add_message "google.cloud.iap.v1.ListIdentityAwareProxyClientsResponse" do
142
- repeated :identity_aware_proxy_clients, :message, 1, "google.cloud.iap.v1.IdentityAwareProxyClient"
143
- optional :next_page_token, :string, 2
144
- end
145
- add_message "google.cloud.iap.v1.CreateIdentityAwareProxyClientRequest" do
146
- optional :parent, :string, 1
147
- optional :identity_aware_proxy_client, :message, 2, "google.cloud.iap.v1.IdentityAwareProxyClient"
148
- end
149
- add_message "google.cloud.iap.v1.GetIdentityAwareProxyClientRequest" do
150
- optional :name, :string, 1
151
- end
152
- add_message "google.cloud.iap.v1.ResetIdentityAwareProxyClientSecretRequest" do
153
- optional :name, :string, 1
154
- end
155
- add_message "google.cloud.iap.v1.DeleteIdentityAwareProxyClientRequest" do
156
- optional :name, :string, 1
157
- end
158
- add_message "google.cloud.iap.v1.Brand" do
159
- optional :name, :string, 1
160
- optional :support_email, :string, 2
161
- optional :application_title, :string, 3
162
- optional :org_internal_only, :bool, 4
163
- end
164
- add_message "google.cloud.iap.v1.IdentityAwareProxyClient" do
165
- optional :name, :string, 1
166
- optional :secret, :string, 2
167
- optional :display_name, :string, 3
18
+
19
+ descriptor_data = "\n!google/cloud/iap/v1/service.proto\x12\x13google.cloud.iap.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x7f\n\x1bListTunnelDestGroupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iap.googleapis.com/TunnelLocation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x1cListTunnelDestGroupsResponse\x12@\n\x12tunnel_dest_groups\x18\x01 \x03(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1c\x43reateTunnelDestGroupRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"iap.googleapis.com/TunnelDestGroup\x12\x44\n\x11tunnel_dest_group\x18\x02 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12!\n\x14tunnel_dest_group_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"U\n\x19GetTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"X\n\x1c\x44\x65leteTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"\x95\x01\n\x1cUpdateTunnelDestGroupRequest\x12\x44\n\x11tunnel_dest_group\x18\x01 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc4\x01\n\x0fTunnelDestGroup\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x12\n\x05\x63idrs\x18\x02 \x03(\tB\x03\xe0\x41\x06\x12\x12\n\x05\x66qdns\x18\x03 \x03(\tB\x03\xe0\x41\x06:s\xea\x41p\n\"iap.googleapis.com/TunnelDestGroup\x12Jprojects/{project}/iap_tunnel/locations/{location}/destGroups/{dest_group}\"*\n\x15GetIapSettingsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x88\x01\n\x18UpdateIapSettingsRequest\x12;\n\x0ciap_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.IapSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa6\x01\n\x0bIapSettings\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\x0f\x61\x63\x63\x65ss_settings\x18\x05 \x01(\x0b\x32#.google.cloud.iap.v1.AccessSettings\x12\x46\n\x14\x61pplication_settings\x18\x06 \x01(\x0b\x32(.google.cloud.iap.v1.ApplicationSettings\"\xcd\x02\n\x0e\x41\x63\x63\x65ssSettings\x12\x38\n\rgcip_settings\x18\x01 \x01(\x0b\x32!.google.cloud.iap.v1.GcipSettings\x12\x38\n\rcors_settings\x18\x02 \x01(\x0b\x32!.google.cloud.iap.v1.CorsSettings\x12:\n\x0eoauth_settings\x18\x03 \x01(\x0b\x32\".google.cloud.iap.v1.OAuthSettings\x12<\n\x0freauth_settings\x18\x06 \x01(\x0b\x32#.google.cloud.iap.v1.ReauthSettings\x12M\n\x18\x61llowed_domains_settings\x18\x07 \x01(\x0b\x32+.google.cloud.iap.v1.AllowedDomainsSettings\"X\n\x0cGcipSettings\x12\x12\n\ntenant_ids\x18\x01 \x03(\t\x12\x34\n\x0elogin_page_uri\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"F\n\x0c\x43orsSettings\x12\x36\n\x12\x61llow_http_options\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"A\n\rOAuthSettings\x12\x30\n\nlogin_hint\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xee\x02\n\x0eReauthSettings\x12:\n\x06method\x18\x01 \x01(\x0e\x32*.google.cloud.iap.v1.ReauthSettings.Method\x12*\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x0bpolicy_type\x18\x03 \x01(\x0e\x32..google.cloud.iap.v1.ReauthSettings.PolicyType\"j\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\t\n\x05LOGIN\x10\x01\x12\x10\n\x08PASSWORD\x10\x02\x1a\x02\x08\x01\x12\x0e\n\nSECURE_KEY\x10\x03\x12\x1b\n\x17\x45NROLLED_SECOND_FACTORS\x10\x04\"C\n\nPolicyType\x12\x1b\n\x17POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MINIMUM\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\"I\n\x16\x41llowedDomainsSettings\x12\x13\n\x06\x65nable\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x0f\n\x07\x64omains\x18\x02 \x03(\tB\t\n\x07_enable\"\xb1\x02\n\x13\x41pplicationSettings\x12\x36\n\x0c\x63sm_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.CsmSettings\x12R\n\x1b\x61\x63\x63\x65ss_denied_page_settings\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.AccessDeniedPageSettings\x12\x33\n\rcookie_domain\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\x1e\x61ttribute_propagation_settings\x18\x04 \x01(\x0b\x32\x31.google.cloud.iap.v1.AttributePropagationSettings\"@\n\x0b\x43smSettings\x12\x31\n\x0brctoken_aud\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x92\x02\n\x18\x41\x63\x63\x65ssDeniedPageSettings\x12<\n\x16\x61\x63\x63\x65ss_denied_page_uri\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x1cgenerate_troubleshooting_uri\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12M\n$remediation_token_generation_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x88\x01\x01\x42\'\n%_remediation_token_generation_enabled\"\xa2\x02\n\x1c\x41ttributePropagationSettings\x12\x17\n\nexpression\x18\x01 \x01(\tH\x00\x88\x01\x01\x12_\n\x12output_credentials\x18\x02 \x03(\x0e\x32\x43.google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials\x12\x13\n\x06\x65nable\x18\x03 \x01(\x08H\x01\x88\x01\x01\"Y\n\x11OutputCredentials\x12\"\n\x1eOUTPUT_CREDENTIALS_UNSPECIFIED\x10\x00\x12\n\n\x06HEADER\x10\x01\x12\x07\n\x03JWT\x10\x02\x12\x0b\n\x07RCTOKEN\x10\x03\x42\r\n\x0b_expressionB\t\n\x07_enable\"(\n\x11ListBrandsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\"@\n\x12ListBrandsResponse\x12*\n\x06\x62rands\x18\x01 \x03(\x0b\x32\x1a.google.cloud.iap.v1.Brand\"Y\n\x12\x43reateBrandRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x05\x62rand\x18\x02 \x01(\x0b\x32\x1a.google.cloud.iap.v1.BrandB\x03\xe0\x41\x02\"$\n\x0fGetBrandRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"b\n$ListIdentityAwareProxyClientsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n%ListIdentityAwareProxyClientsResponse\x12S\n\x1cidentity_aware_proxy_clients\x18\x01 \x03(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x95\x01\n%CreateIdentityAwareProxyClientRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x1bidentity_aware_proxy_client\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClientB\x03\xe0\x41\x02\"7\n\"GetIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"?\n*ResetIdentityAwareProxyClientSecretRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\":\n%DeleteIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"l\n\x05\x42rand\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rsupport_email\x18\x02 \x01(\t\x12\x19\n\x11\x61pplication_title\x18\x03 \x01(\t\x12\x1e\n\x11org_internal_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\"X\n\x18IdentityAwareProxyClient\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06secret\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t2\xc0\x0e\n\x1eIdentityAwareProxyAdminService\x12t\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*\x12\x81\x01\n\x0eGetIapSettings\x12*.google.cloud.iap.v1.GetIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=**}:iapSettings\x12\xa2\x01\n\x11UpdateIapSettings\x12-.google.cloud.iap.v1.UpdateIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"<\x82\xd3\xe4\x93\x02\x36\x32&/v1/{iap_settings.name=**}:iapSettings:\x0ciap_settings\x12\xc7\x01\n\x14ListTunnelDestGroups\x12\x30.google.cloud.iap.v1.ListTunnelDestGroupsRequest\x1a\x31.google.cloud.iap.v1.ListTunnelDestGroupsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups\xda\x41\x06parent\x12\xf7\x01\n\x15\x43reateTunnelDestGroup\x12\x31.google.cloud.iap.v1.CreateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x84\x01\x82\xd3\xe4\x93\x02N\"9/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups:\x11tunnel_dest_group\xda\x41-parent,tunnel_dest_group,tunnel_dest_group_id\x12\xb4\x01\n\x12GetTunnelDestGroup\x12..google.cloud.iap.v1.GetTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xac\x01\n\x15\x44\x65leteTunnelDestGroup\x12\x31.google.cloud.iap.v1.DeleteTunnelDestGroupRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xf9\x01\n\x15UpdateTunnelDestGroup\x12\x31.google.cloud.iap.v1.UpdateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x86\x01\x82\xd3\xe4\x93\x02`2K/v1/{tunnel_dest_group.name=projects/*/iap_tunnel/locations/*/destGroups/*}:\x11tunnel_dest_group\xda\x41\x1dtunnel_dest_group,update_mask\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\xa8\x0c\n\x1eIdentityAwareProxyOAuthService\x12\x85\x01\n\nListBrands\x12&.google.cloud.iap.v1.ListBrandsRequest\x1a\'.google.cloud.iap.v1.ListBrandsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=projects/*}/brands\x12\x81\x01\n\x0b\x43reateBrand\x12\'.google.cloud.iap.v1.CreateBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"-\x82\xd3\xe4\x93\x02\'\"\x1e/v1/{parent=projects/*}/brands:\x05\x62rand\x12t\n\x08GetBrand\x12$.google.cloud.iap.v1.GetBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=projects/*/brands/*}\x12\xec\x01\n\x1e\x43reateIdentityAwareProxyClient\x12:.google.cloud.iap.v1.CreateIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"_\x82\xd3\xe4\x93\x02Y\":/v1/{parent=projects/*/brands/*}/identityAwareProxyClients:\x1bidentity_aware_proxy_client\x12\xda\x01\n\x1dListIdentityAwareProxyClients\x12\x39.google.cloud.iap.v1.ListIdentityAwareProxyClientsRequest\x1a:.google.cloud.iap.v1.ListIdentityAwareProxyClientsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/brands/*}/identityAwareProxyClients\x12\xc9\x01\n\x1bGetIdentityAwareProxyClient\x12\x37.google.cloud.iap.v1.GetIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x12\xe8\x01\n#ResetIdentityAwareProxyClientSecret\x12?.google.cloud.iap.v1.ResetIdentityAwareProxyClientSecretRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret:\x01*\x12\xb8\x01\n\x1e\x44\x65leteIdentityAwareProxyClient\x12:.google.cloud.iap.v1.DeleteIdentityAwareProxyClientRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe5\x01\n\x17\x63om.google.cloud.iap.v1P\x01Z)cloud.google.com/go/iap/apiv1/iappb;iappb\xaa\x02\x13Google.Cloud.Iap.V1\xca\x02\x13Google\\Cloud\\Iap\\V1\xea\x02\x16Google::Cloud::Iap::V1\xea\x41W\n!iap.googleapis.com/TunnelLocation\x12\x32projects/{project}/iap_tunnel/locations/{location}b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
+ ["google.protobuf.StringValue", "google/protobuf/wrappers.proto"],
36
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
168
42
  end
169
43
  end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
170
46
  end
171
47
 
172
48
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Iap
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -268,7 +268,6 @@ module Google
268
268
  # Prompts the user to log in again.
269
269
  LOGIN = 1
270
270
 
271
- # Deprecated, no longer accepted by IAP APIs.
272
271
  PASSWORD = 2
273
272
 
274
273
  # User must use their secure key 2nd factor device.
@@ -361,25 +360,31 @@ module Google
361
360
  # by IAP.
362
361
  # @!attribute [rw] expression
363
362
  # @return [::String]
364
- # Raw string CEL expression. Must return a list of attributes. Maximum of 45
365
- # attributes can be selected. Expressions can select different attribute
363
+ # Raw string CEL expression. Must return a list of attributes. A maximum of
364
+ # 45 attributes can be selected. Expressions can select different attribute
366
365
  # types from `attributes`: `attributes.saml_attributes`,
367
- # `attributes.iap_attributes`. Limited functions are supported:
368
- # - `filter: <list>.filter(<iter_var>, <predicate>)` -> returns a subset of
366
+ # `attributes.iap_attributes`. The following functions are supported:
367
+ #
368
+ # - filter `<list>.filter(<iter_var>, <predicate>)`: Returns a subset of
369
369
  # `<list>` where `<predicate>` is true for every item.
370
- # - `in: <var> in <list>` -> returns true if `<list>` contains `<var>`
371
- # - `selectByName: <list>.selectByName(<string>)` -> returns the attribute
370
+ #
371
+ # - in `<var> in <list>`: Returns true if `<list>` contains `<var>`.
372
+ #
373
+ # - selectByName `<list>.selectByName(<string>)`: Returns the attribute
372
374
  # in
373
375
  # `<list>` with the given `<string>` name, otherwise returns empty.
374
- # - `emitAs: <attribute>.emitAs(<string>)` -> sets the `<attribute>` name
376
+ #
377
+ # - emitAs `<attribute>.emitAs(<string>)`: Sets the `<attribute>` name
375
378
  # field to the given `<string>` for propagation in selected output
376
379
  # credentials.
377
- # - `strict: <attribute>.strict()` -> ignore the `x-goog-iap-attr-` prefix
378
- # for the provided `<attribute>` when propagating via the `HEADER` output
379
- # credential, i.e. request headers.
380
- # - `append: <target_list>.append(<attribute>)` OR
381
- # `<target_list>.append(<list>)` -> append the provided `<attribute>` or
382
- # `<list>` onto the end of `<target_list>`.
380
+ #
381
+ # - strict `<attribute>.strict()`: Ignores the `x-goog-iap-attr-` prefix
382
+ # for the provided `<attribute>` when propagating with the `HEADER` output
383
+ # credential, such as request headers.
384
+ #
385
+ # - append `<target_list>.append(<attribute>)` OR
386
+ # `<target_list>.append(<list>)`: Appends the provided `<attribute>` or
387
+ # `<list>` to the end of `<target_list>`.
383
388
  #
384
389
  # Example expression: `attributes.saml_attributes.filter(x, x.name in
385
390
  # ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`
@@ -401,7 +406,7 @@ module Google
401
406
  # credential maps to a "field" in the response. For example, selecting JWT
402
407
  # will propagate all attributes in the IAP JWT, header in the headers, etc.
403
408
  module OutputCredentials
404
- # No output credential. This is an unsupported default.
409
+ # An output credential is required.
405
410
  OUTPUT_CREDENTIALS_UNSPECIFIED = 0
406
411
 
407
412
  # Propagate attributes in the headers with "x-goog-iap-attr-" prefix.
@@ -40,6 +40,7 @@ module Google
40
40
  #
41
41
  # **JSON example:**
42
42
  #
43
+ # ```
43
44
  # {
44
45
  # "bindings": [
45
46
  # {
@@ -67,9 +68,11 @@ module Google
67
68
  # "etag": "BwWWja0YfJA=",
68
69
  # "version": 3
69
70
  # }
71
+ # ```
70
72
  #
71
73
  # **YAML example:**
72
74
  #
75
+ # ```
73
76
  # bindings:
74
77
  # - members:
75
78
  # - user:mike@example.com
@@ -86,6 +89,7 @@ module Google
86
89
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
87
90
  # etag: BwWWja0YfJA=
88
91
  # version: 3
92
+ # ```
89
93
  #
90
94
  # For a description of IAM and its features, see the
91
95
  # [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -157,7 +161,7 @@ module Google
157
161
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
158
162
  # @!attribute [rw] members
159
163
  # @return [::Array<::String>]
160
- # Specifies the principals requesting access for a Cloud Platform resource.
164
+ # Specifies the principals requesting access for a Google Cloud resource.
161
165
  # `members` can have the following values:
162
166
  #
163
167
  # * `allUsers`: A special identifier that represents anyone who is
@@ -267,8 +271,8 @@ module Google
267
271
  # }
268
272
  #
269
273
  # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
270
- # logging. It also exempts jose@example.com from DATA_READ logging, and
271
- # aliya@example.com from DATA_WRITE logging.
274
+ # logging. It also exempts `jose@example.com` from DATA_READ logging, and
275
+ # `aliya@example.com` from DATA_WRITE logging.
272
276
  # @!attribute [rw] service
273
277
  # @return [::String]
274
278
  # Specifies a service that will be enabled for audit logging.
@@ -356,7 +360,7 @@ module Google
356
360
  # Required
357
361
  # @!attribute [rw] member
358
362
  # @return [::String]
359
- # A single identity requesting access for a Cloud Platform resource.
363
+ # A single identity requesting access for a Google Cloud resource.
360
364
  # Follows the same format of Binding.members.
361
365
  # Required
362
366
  # @!attribute [rw] condition
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.7.0
4
+ version: 0.8.1
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-16 00:00:00.000000000 Z
11
+ date: 2023-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a