google-api-client 0.27.3 → 0.28.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.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
  5. data/generated/google/apis/analytics_v3.rb +1 -1
  6. data/generated/google/apis/analytics_v3/classes.rb +18 -112
  7. data/generated/google/apis/analytics_v3/representations.rb +0 -36
  8. data/generated/google/apis/analytics_v3/service.rb +18 -18
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +20 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  13. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  14. data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
  15. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  18. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  20. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  21. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
  22. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  23. data/generated/google/apis/composer_v1.rb +1 -1
  24. data/generated/google/apis/composer_v1/classes.rb +59 -0
  25. data/generated/google/apis/composer_v1/representations.rb +30 -0
  26. data/generated/google/apis/composer_v1/service.rb +37 -0
  27. data/generated/google/apis/composer_v1beta1.rb +1 -1
  28. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  29. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  30. data/generated/google/apis/composer_v1beta1/service.rb +37 -0
  31. data/generated/google/apis/dialogflow_v2.rb +1 -1
  32. data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
  33. data/generated/google/apis/dialogflow_v2/service.rb +8 -16
  34. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  35. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
  36. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
  37. data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
  38. data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
  39. data/generated/google/apis/fitness_v1.rb +1 -1
  40. data/generated/google/apis/fitness_v1/classes.rb +7 -6
  41. data/generated/google/apis/iam_v1.rb +1 -1
  42. data/generated/google/apis/iam_v1/classes.rb +37 -0
  43. data/generated/google/apis/iam_v1/representations.rb +15 -0
  44. data/generated/google/apis/iam_v1/service.rb +44 -0
  45. data/generated/google/apis/iap_v1.rb +1 -1
  46. data/generated/google/apis/iap_v1/service.rb +3 -558
  47. data/generated/google/apis/iap_v1beta1.rb +1 -1
  48. data/generated/google/apis/iap_v1beta1/service.rb +3 -568
  49. data/generated/google/apis/jobs_v2.rb +1 -1
  50. data/generated/google/apis/jobs_v2/classes.rb +1 -1
  51. data/generated/google/apis/jobs_v2/service.rb +2 -2
  52. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  53. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
  54. data/generated/google/apis/logging_v2.rb +1 -1
  55. data/generated/google/apis/logging_v2/classes.rb +52 -10
  56. data/generated/google/apis/logging_v2/representations.rb +6 -0
  57. data/generated/google/apis/logging_v2/service.rb +9 -9
  58. data/generated/google/apis/logging_v2beta1.rb +1 -1
  59. data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
  60. data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
  61. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  62. data/generated/google/apis/ml_v1.rb +1 -1
  63. data/generated/google/apis/ml_v1/classes.rb +10 -12
  64. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  65. data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
  66. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
  67. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  68. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
  69. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
  70. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  71. data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
  72. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
  73. data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
  74. data/generated/google/apis/script_v1.rb +1 -1
  75. data/generated/google/apis/script_v1/classes.rb +2 -1
  76. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  77. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  78. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  79. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
  80. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  81. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
  83. data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
  84. data/generated/google/apis/serviceusage_v1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1/service.rb +0 -3
  86. data/generated/google/apis/speech_v1.rb +1 -1
  87. data/generated/google/apis/speech_v1/classes.rb +20 -0
  88. data/generated/google/apis/speech_v1/representations.rb +2 -0
  89. data/generated/google/apis/speech_v1/service.rb +111 -0
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  92. data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
  93. data/generated/google/apis/videointelligence_v1.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
  95. data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
  96. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  97. data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
  98. data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
  99. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  100. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
  101. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
  102. data/generated/google/apis/vision_v1.rb +1 -1
  103. data/generated/google/apis/vision_v1/classes.rb +2 -1
  104. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  105. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  106. data/lib/google/apis/version.rb +1 -1
  107. metadata +2 -6
  108. data/generated/google/apis/monitoring_v1.rb +0 -33
  109. data/generated/google/apis/monitoring_v1/classes.rb +0 -474
  110. data/generated/google/apis/monitoring_v1/representations.rb +0 -195
  111. data/generated/google/apis/monitoring_v1/service.rb +0 -211
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20181005'
30
+ REVISION = '20190111'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -695,6 +695,43 @@ module Google
695
695
  end
696
696
  end
697
697
 
698
+ # The patch service account request.
699
+ class PatchServiceAccountRequest
700
+ include Google::Apis::Core::Hashable
701
+
702
+ # A service account in the Identity and Access Management API.
703
+ # To create a service account, specify the `project_id` and the `account_id`
704
+ # for the account. The `account_id` is unique within the project, and is used
705
+ # to generate the service account email address and a stable
706
+ # `unique_id`.
707
+ # If the account already exists, the account's resource name is returned
708
+ # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
709
+ # can use the name in other methods to access the account.
710
+ # All other methods can identify the service account using the format
711
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
712
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
713
+ # the account. The `ACCOUNT` value can be the `email` address or the
714
+ # `unique_id` of the service account.
715
+ # Corresponds to the JSON property `serviceAccount`
716
+ # @return [Google::Apis::IamV1::ServiceAccount]
717
+ attr_accessor :service_account
718
+
719
+ #
720
+ # Corresponds to the JSON property `updateMask`
721
+ # @return [String]
722
+ attr_accessor :update_mask
723
+
724
+ def initialize(**args)
725
+ update!(**args)
726
+ end
727
+
728
+ # Update properties of this object
729
+ def update!(**args)
730
+ @service_account = args[:service_account] if args.key?(:service_account)
731
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
732
+ end
733
+ end
734
+
698
735
  # A permission which can be included by a role.
699
736
  class Permission
700
737
  include Google::Apis::Core::Hashable
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class PatchServiceAccountRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class Permission
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -400,6 +406,15 @@ module Google
400
406
  end
401
407
  end
402
408
 
409
+ class PatchServiceAccountRequest
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
413
+
414
+ property :update_mask, as: 'updateMask'
415
+ end
416
+ end
417
+
403
418
  class Permission
404
419
  # @private
405
420
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -792,6 +792,50 @@ module Google
792
792
  execute_or_queue_command(command, &block)
793
793
  end
794
794
 
795
+ # Patches a ServiceAccount.
796
+ # Currently, only the following fields are updatable:
797
+ # `display_name` and `description`.
798
+ # Only fields specified in the request are garaunteed to be returned in
799
+ # the response. Other fields in the response may be empty.
800
+ # Note: The field mask is required.
801
+ # @param [String] name
802
+ # The resource name of the service account in the following format:
803
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
804
+ # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
805
+ # project from the `account` and the `ACCOUNT` value can be the `email`
806
+ # address or the `unique_id` of the service account.
807
+ # In responses the resource name will always be in the format
808
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
809
+ # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
810
+ # @param [String] fields
811
+ # Selector specifying which fields to include in a partial response.
812
+ # @param [String] quota_user
813
+ # Available to use for quota purposes for server-side applications. Can be any
814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
815
+ # @param [Google::Apis::RequestOptions] options
816
+ # Request-specific options
817
+ #
818
+ # @yield [result, err] Result & error if block supplied
819
+ # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
820
+ # @yieldparam err [StandardError] error object if request failed
821
+ #
822
+ # @return [Google::Apis::IamV1::ServiceAccount]
823
+ #
824
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
825
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
826
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
827
+ def patch_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
828
+ command = make_simple_command(:patch, 'v1/{+name}', options)
829
+ command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
830
+ command.request_object = patch_service_account_request_object
831
+ command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
832
+ command.response_class = Google::Apis::IamV1::ServiceAccount
833
+ command.params['name'] = name unless name.nil?
834
+ command.query['fields'] = fields unless fields.nil?
835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
836
+ execute_or_queue_command(command, &block)
837
+ end
838
+
795
839
  # Sets the IAM access control policy for a
796
840
  # ServiceAccount.
797
841
  # @param [String] resource
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181128'
28
+ REVISION = '20190109'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -72,7 +72,7 @@ module Google
72
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def get_iap_tunnel_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
76
76
  command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
77
77
  command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
78
78
  command.request_object = get_iam_policy_request_object
@@ -109,7 +109,7 @@ module Google
109
109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
112
- def set_iap_tunnel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
112
+ def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
113
113
  command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
114
114
  command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
115
115
  command.request_object = set_iam_policy_request_object
@@ -146,562 +146,7 @@ module Google
146
146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
149
- def test_iap_tunnel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
150
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
151
- command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
152
- command.request_object = test_iam_permissions_request_object
153
- command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
154
- command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
155
- command.params['resource'] = resource unless resource.nil?
156
- command.query['fields'] = fields unless fields.nil?
157
- command.query['quotaUser'] = quota_user unless quota_user.nil?
158
- execute_or_queue_command(command, &block)
159
- end
160
-
161
- # Gets the access control policy for an Identity-Aware Proxy protected
162
- # resource.
163
- # More information about managing access via IAP can be found at:
164
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
165
- # @param [String] resource
166
- # REQUIRED: The resource for which the policy is being requested.
167
- # See the operation documentation for the appropriate value for this field.
168
- # @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_request_object
169
- # @param [String] fields
170
- # Selector specifying which fields to include in a partial response.
171
- # @param [String] quota_user
172
- # Available to use for quota purposes for server-side applications. Can be any
173
- # arbitrary string assigned to a user, but should not exceed 40 characters.
174
- # @param [Google::Apis::RequestOptions] options
175
- # Request-specific options
176
- #
177
- # @yield [result, err] Result & error if block supplied
178
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
179
- # @yieldparam err [StandardError] error object if request failed
180
- #
181
- # @return [Google::Apis::IapV1::Policy]
182
- #
183
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
- # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def get_zone_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
187
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
188
- command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
189
- command.request_object = get_iam_policy_request_object
190
- command.response_representation = Google::Apis::IapV1::Policy::Representation
191
- command.response_class = Google::Apis::IapV1::Policy
192
- command.params['resource'] = resource unless resource.nil?
193
- command.query['fields'] = fields unless fields.nil?
194
- command.query['quotaUser'] = quota_user unless quota_user.nil?
195
- execute_or_queue_command(command, &block)
196
- end
197
-
198
- # Sets the access control policy for an Identity-Aware Proxy protected
199
- # resource. Replaces any existing policy.
200
- # More information about managing access via IAP can be found at:
201
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
202
- # @param [String] resource
203
- # REQUIRED: The resource for which the policy is being specified.
204
- # See the operation documentation for the appropriate value for this field.
205
- # @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_request_object
206
- # @param [String] fields
207
- # Selector specifying which fields to include in a partial response.
208
- # @param [String] quota_user
209
- # Available to use for quota purposes for server-side applications. Can be any
210
- # arbitrary string assigned to a user, but should not exceed 40 characters.
211
- # @param [Google::Apis::RequestOptions] options
212
- # Request-specific options
213
- #
214
- # @yield [result, err] Result & error if block supplied
215
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
216
- # @yieldparam err [StandardError] error object if request failed
217
- #
218
- # @return [Google::Apis::IapV1::Policy]
219
- #
220
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
221
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
222
- # @raise [Google::Apis::AuthorizationError] Authorization is required
223
- def set_zone_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
224
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
225
- command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
226
- command.request_object = set_iam_policy_request_object
227
- command.response_representation = Google::Apis::IapV1::Policy::Representation
228
- command.response_class = Google::Apis::IapV1::Policy
229
- command.params['resource'] = resource unless resource.nil?
230
- command.query['fields'] = fields unless fields.nil?
231
- command.query['quotaUser'] = quota_user unless quota_user.nil?
232
- execute_or_queue_command(command, &block)
233
- end
234
-
235
- # Returns permissions that a caller has on the Identity-Aware Proxy protected
236
- # resource.
237
- # More information about managing access via IAP can be found at:
238
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
239
- # @param [String] resource
240
- # REQUIRED: The resource for which the policy detail is being requested.
241
- # See the operation documentation for the appropriate value for this field.
242
- # @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_request_object
243
- # @param [String] fields
244
- # Selector specifying which fields to include in a partial response.
245
- # @param [String] quota_user
246
- # Available to use for quota purposes for server-side applications. Can be any
247
- # arbitrary string assigned to a user, but should not exceed 40 characters.
248
- # @param [Google::Apis::RequestOptions] options
249
- # Request-specific options
250
- #
251
- # @yield [result, err] Result & error if block supplied
252
- # @yieldparam result [Google::Apis::IapV1::TestIamPermissionsResponse] parsed result object
253
- # @yieldparam err [StandardError] error object if request failed
254
- #
255
- # @return [Google::Apis::IapV1::TestIamPermissionsResponse]
256
- #
257
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
- # @raise [Google::Apis::AuthorizationError] Authorization is required
260
- def test_zone_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
261
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
262
- command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
263
- command.request_object = test_iam_permissions_request_object
264
- command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
265
- command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
266
- command.params['resource'] = resource unless resource.nil?
267
- command.query['fields'] = fields unless fields.nil?
268
- command.query['quotaUser'] = quota_user unless quota_user.nil?
269
- execute_or_queue_command(command, &block)
270
- end
271
-
272
- # Gets the access control policy for an Identity-Aware Proxy protected
273
- # resource.
274
- # More information about managing access via IAP can be found at:
275
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
276
- # @param [String] resource
277
- # REQUIRED: The resource for which the policy is being requested.
278
- # See the operation documentation for the appropriate value for this field.
279
- # @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_request_object
280
- # @param [String] fields
281
- # Selector specifying which fields to include in a partial response.
282
- # @param [String] quota_user
283
- # Available to use for quota purposes for server-side applications. Can be any
284
- # arbitrary string assigned to a user, but should not exceed 40 characters.
285
- # @param [Google::Apis::RequestOptions] options
286
- # Request-specific options
287
- #
288
- # @yield [result, err] Result & error if block supplied
289
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
290
- # @yieldparam err [StandardError] error object if request failed
291
- #
292
- # @return [Google::Apis::IapV1::Policy]
293
- #
294
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
295
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
296
- # @raise [Google::Apis::AuthorizationError] Authorization is required
297
- def get_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
298
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
299
- command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
300
- command.request_object = get_iam_policy_request_object
301
- command.response_representation = Google::Apis::IapV1::Policy::Representation
302
- command.response_class = Google::Apis::IapV1::Policy
303
- command.params['resource'] = resource unless resource.nil?
304
- command.query['fields'] = fields unless fields.nil?
305
- command.query['quotaUser'] = quota_user unless quota_user.nil?
306
- execute_or_queue_command(command, &block)
307
- end
308
-
309
- # Sets the access control policy for an Identity-Aware Proxy protected
310
- # resource. Replaces any existing policy.
311
- # More information about managing access via IAP can be found at:
312
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
313
- # @param [String] resource
314
- # REQUIRED: The resource for which the policy is being specified.
315
- # See the operation documentation for the appropriate value for this field.
316
- # @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_request_object
317
- # @param [String] fields
318
- # Selector specifying which fields to include in a partial response.
319
- # @param [String] quota_user
320
- # Available to use for quota purposes for server-side applications. Can be any
321
- # arbitrary string assigned to a user, but should not exceed 40 characters.
322
- # @param [Google::Apis::RequestOptions] options
323
- # Request-specific options
324
- #
325
- # @yield [result, err] Result & error if block supplied
326
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
327
- # @yieldparam err [StandardError] error object if request failed
328
- #
329
- # @return [Google::Apis::IapV1::Policy]
330
- #
331
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
332
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
333
- # @raise [Google::Apis::AuthorizationError] Authorization is required
334
- def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
335
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
336
- command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
337
- command.request_object = set_iam_policy_request_object
338
- command.response_representation = Google::Apis::IapV1::Policy::Representation
339
- command.response_class = Google::Apis::IapV1::Policy
340
- command.params['resource'] = resource unless resource.nil?
341
- command.query['fields'] = fields unless fields.nil?
342
- command.query['quotaUser'] = quota_user unless quota_user.nil?
343
- execute_or_queue_command(command, &block)
344
- end
345
-
346
- # Returns permissions that a caller has on the Identity-Aware Proxy protected
347
- # resource.
348
- # More information about managing access via IAP can be found at:
349
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
350
- # @param [String] resource
351
- # REQUIRED: The resource for which the policy detail is being requested.
352
- # See the operation documentation for the appropriate value for this field.
353
- # @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_request_object
354
- # @param [String] fields
355
- # Selector specifying which fields to include in a partial response.
356
- # @param [String] quota_user
357
- # Available to use for quota purposes for server-side applications. Can be any
358
- # arbitrary string assigned to a user, but should not exceed 40 characters.
359
- # @param [Google::Apis::RequestOptions] options
360
- # Request-specific options
361
- #
362
- # @yield [result, err] Result & error if block supplied
363
- # @yieldparam result [Google::Apis::IapV1::TestIamPermissionsResponse] parsed result object
364
- # @yieldparam err [StandardError] error object if request failed
365
- #
366
- # @return [Google::Apis::IapV1::TestIamPermissionsResponse]
367
- #
368
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
369
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
370
- # @raise [Google::Apis::AuthorizationError] Authorization is required
371
- def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
372
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
373
- command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
374
- command.request_object = test_iam_permissions_request_object
375
- command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
376
- command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
377
- command.params['resource'] = resource unless resource.nil?
378
- command.query['fields'] = fields unless fields.nil?
379
- command.query['quotaUser'] = quota_user unless quota_user.nil?
380
- execute_or_queue_command(command, &block)
381
- end
382
-
383
- # Gets the access control policy for an Identity-Aware Proxy protected
384
- # resource.
385
- # More information about managing access via IAP can be found at:
386
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
387
- # @param [String] resource
388
- # REQUIRED: The resource for which the policy is being requested.
389
- # See the operation documentation for the appropriate value for this field.
390
- # @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_request_object
391
- # @param [String] fields
392
- # Selector specifying which fields to include in a partial response.
393
- # @param [String] quota_user
394
- # Available to use for quota purposes for server-side applications. Can be any
395
- # arbitrary string assigned to a user, but should not exceed 40 characters.
396
- # @param [Google::Apis::RequestOptions] options
397
- # Request-specific options
398
- #
399
- # @yield [result, err] Result & error if block supplied
400
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
401
- # @yieldparam err [StandardError] error object if request failed
402
- #
403
- # @return [Google::Apis::IapV1::Policy]
404
- #
405
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
- # @raise [Google::Apis::AuthorizationError] Authorization is required
408
- def get_iap_web_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
409
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
410
- command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
411
- command.request_object = get_iam_policy_request_object
412
- command.response_representation = Google::Apis::IapV1::Policy::Representation
413
- command.response_class = Google::Apis::IapV1::Policy
414
- command.params['resource'] = resource unless resource.nil?
415
- command.query['fields'] = fields unless fields.nil?
416
- command.query['quotaUser'] = quota_user unless quota_user.nil?
417
- execute_or_queue_command(command, &block)
418
- end
419
-
420
- # Sets the access control policy for an Identity-Aware Proxy protected
421
- # resource. Replaces any existing policy.
422
- # More information about managing access via IAP can be found at:
423
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
424
- # @param [String] resource
425
- # REQUIRED: The resource for which the policy is being specified.
426
- # See the operation documentation for the appropriate value for this field.
427
- # @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_request_object
428
- # @param [String] fields
429
- # Selector specifying which fields to include in a partial response.
430
- # @param [String] quota_user
431
- # Available to use for quota purposes for server-side applications. Can be any
432
- # arbitrary string assigned to a user, but should not exceed 40 characters.
433
- # @param [Google::Apis::RequestOptions] options
434
- # Request-specific options
435
- #
436
- # @yield [result, err] Result & error if block supplied
437
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
438
- # @yieldparam err [StandardError] error object if request failed
439
- #
440
- # @return [Google::Apis::IapV1::Policy]
441
- #
442
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
443
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
444
- # @raise [Google::Apis::AuthorizationError] Authorization is required
445
- def set_iap_web_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
446
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
447
- command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
448
- command.request_object = set_iam_policy_request_object
449
- command.response_representation = Google::Apis::IapV1::Policy::Representation
450
- command.response_class = Google::Apis::IapV1::Policy
451
- command.params['resource'] = resource unless resource.nil?
452
- command.query['fields'] = fields unless fields.nil?
453
- command.query['quotaUser'] = quota_user unless quota_user.nil?
454
- execute_or_queue_command(command, &block)
455
- end
456
-
457
- # Returns permissions that a caller has on the Identity-Aware Proxy protected
458
- # resource.
459
- # More information about managing access via IAP can be found at:
460
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
461
- # @param [String] resource
462
- # REQUIRED: The resource for which the policy detail is being requested.
463
- # See the operation documentation for the appropriate value for this field.
464
- # @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_request_object
465
- # @param [String] fields
466
- # Selector specifying which fields to include in a partial response.
467
- # @param [String] quota_user
468
- # Available to use for quota purposes for server-side applications. Can be any
469
- # arbitrary string assigned to a user, but should not exceed 40 characters.
470
- # @param [Google::Apis::RequestOptions] options
471
- # Request-specific options
472
- #
473
- # @yield [result, err] Result & error if block supplied
474
- # @yieldparam result [Google::Apis::IapV1::TestIamPermissionsResponse] parsed result object
475
- # @yieldparam err [StandardError] error object if request failed
476
- #
477
- # @return [Google::Apis::IapV1::TestIamPermissionsResponse]
478
- #
479
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
- # @raise [Google::Apis::AuthorizationError] Authorization is required
482
- def test_iap_web_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
483
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
484
- command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
485
- command.request_object = test_iam_permissions_request_object
486
- command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
487
- command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
488
- command.params['resource'] = resource unless resource.nil?
489
- command.query['fields'] = fields unless fields.nil?
490
- command.query['quotaUser'] = quota_user unless quota_user.nil?
491
- execute_or_queue_command(command, &block)
492
- end
493
-
494
- # Gets the access control policy for an Identity-Aware Proxy protected
495
- # resource.
496
- # More information about managing access via IAP can be found at:
497
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
498
- # @param [String] resource
499
- # REQUIRED: The resource for which the policy is being requested.
500
- # See the operation documentation for the appropriate value for this field.
501
- # @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_request_object
502
- # @param [String] fields
503
- # Selector specifying which fields to include in a partial response.
504
- # @param [String] quota_user
505
- # Available to use for quota purposes for server-side applications. Can be any
506
- # arbitrary string assigned to a user, but should not exceed 40 characters.
507
- # @param [Google::Apis::RequestOptions] options
508
- # Request-specific options
509
- #
510
- # @yield [result, err] Result & error if block supplied
511
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
512
- # @yieldparam err [StandardError] error object if request failed
513
- #
514
- # @return [Google::Apis::IapV1::Policy]
515
- #
516
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
517
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
518
- # @raise [Google::Apis::AuthorizationError] Authorization is required
519
- def get_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
520
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
521
- command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
522
- command.request_object = get_iam_policy_request_object
523
- command.response_representation = Google::Apis::IapV1::Policy::Representation
524
- command.response_class = Google::Apis::IapV1::Policy
525
- command.params['resource'] = resource unless resource.nil?
526
- command.query['fields'] = fields unless fields.nil?
527
- command.query['quotaUser'] = quota_user unless quota_user.nil?
528
- execute_or_queue_command(command, &block)
529
- end
530
-
531
- # Sets the access control policy for an Identity-Aware Proxy protected
532
- # resource. Replaces any existing policy.
533
- # More information about managing access via IAP can be found at:
534
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
535
- # @param [String] resource
536
- # REQUIRED: The resource for which the policy is being specified.
537
- # See the operation documentation for the appropriate value for this field.
538
- # @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_request_object
539
- # @param [String] fields
540
- # Selector specifying which fields to include in a partial response.
541
- # @param [String] quota_user
542
- # Available to use for quota purposes for server-side applications. Can be any
543
- # arbitrary string assigned to a user, but should not exceed 40 characters.
544
- # @param [Google::Apis::RequestOptions] options
545
- # Request-specific options
546
- #
547
- # @yield [result, err] Result & error if block supplied
548
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
549
- # @yieldparam err [StandardError] error object if request failed
550
- #
551
- # @return [Google::Apis::IapV1::Policy]
552
- #
553
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
- # @raise [Google::Apis::AuthorizationError] Authorization is required
556
- def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
557
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
558
- command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
559
- command.request_object = set_iam_policy_request_object
560
- command.response_representation = Google::Apis::IapV1::Policy::Representation
561
- command.response_class = Google::Apis::IapV1::Policy
562
- command.params['resource'] = resource unless resource.nil?
563
- command.query['fields'] = fields unless fields.nil?
564
- command.query['quotaUser'] = quota_user unless quota_user.nil?
565
- execute_or_queue_command(command, &block)
566
- end
567
-
568
- # Returns permissions that a caller has on the Identity-Aware Proxy protected
569
- # resource.
570
- # More information about managing access via IAP can be found at:
571
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
572
- # @param [String] resource
573
- # REQUIRED: The resource for which the policy detail is being requested.
574
- # See the operation documentation for the appropriate value for this field.
575
- # @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_request_object
576
- # @param [String] fields
577
- # Selector specifying which fields to include in a partial response.
578
- # @param [String] quota_user
579
- # Available to use for quota purposes for server-side applications. Can be any
580
- # arbitrary string assigned to a user, but should not exceed 40 characters.
581
- # @param [Google::Apis::RequestOptions] options
582
- # Request-specific options
583
- #
584
- # @yield [result, err] Result & error if block supplied
585
- # @yieldparam result [Google::Apis::IapV1::TestIamPermissionsResponse] parsed result object
586
- # @yieldparam err [StandardError] error object if request failed
587
- #
588
- # @return [Google::Apis::IapV1::TestIamPermissionsResponse]
589
- #
590
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
591
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
592
- # @raise [Google::Apis::AuthorizationError] Authorization is required
593
- def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
594
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
595
- command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
596
- command.request_object = test_iam_permissions_request_object
597
- command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
598
- command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
599
- command.params['resource'] = resource unless resource.nil?
600
- command.query['fields'] = fields unless fields.nil?
601
- command.query['quotaUser'] = quota_user unless quota_user.nil?
602
- execute_or_queue_command(command, &block)
603
- end
604
-
605
- # Gets the access control policy for an Identity-Aware Proxy protected
606
- # resource.
607
- # More information about managing access via IAP can be found at:
608
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
609
- # @param [String] resource
610
- # REQUIRED: The resource for which the policy is being requested.
611
- # See the operation documentation for the appropriate value for this field.
612
- # @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_request_object
613
- # @param [String] fields
614
- # Selector specifying which fields to include in a partial response.
615
- # @param [String] quota_user
616
- # Available to use for quota purposes for server-side applications. Can be any
617
- # arbitrary string assigned to a user, but should not exceed 40 characters.
618
- # @param [Google::Apis::RequestOptions] options
619
- # Request-specific options
620
- #
621
- # @yield [result, err] Result & error if block supplied
622
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
623
- # @yieldparam err [StandardError] error object if request failed
624
- #
625
- # @return [Google::Apis::IapV1::Policy]
626
- #
627
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
628
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
629
- # @raise [Google::Apis::AuthorizationError] Authorization is required
630
- def get_version_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
631
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
632
- command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
633
- command.request_object = get_iam_policy_request_object
634
- command.response_representation = Google::Apis::IapV1::Policy::Representation
635
- command.response_class = Google::Apis::IapV1::Policy
636
- command.params['resource'] = resource unless resource.nil?
637
- command.query['fields'] = fields unless fields.nil?
638
- command.query['quotaUser'] = quota_user unless quota_user.nil?
639
- execute_or_queue_command(command, &block)
640
- end
641
-
642
- # Sets the access control policy for an Identity-Aware Proxy protected
643
- # resource. Replaces any existing policy.
644
- # More information about managing access via IAP can be found at:
645
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
646
- # @param [String] resource
647
- # REQUIRED: The resource for which the policy is being specified.
648
- # See the operation documentation for the appropriate value for this field.
649
- # @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_request_object
650
- # @param [String] fields
651
- # Selector specifying which fields to include in a partial response.
652
- # @param [String] quota_user
653
- # Available to use for quota purposes for server-side applications. Can be any
654
- # arbitrary string assigned to a user, but should not exceed 40 characters.
655
- # @param [Google::Apis::RequestOptions] options
656
- # Request-specific options
657
- #
658
- # @yield [result, err] Result & error if block supplied
659
- # @yieldparam result [Google::Apis::IapV1::Policy] parsed result object
660
- # @yieldparam err [StandardError] error object if request failed
661
- #
662
- # @return [Google::Apis::IapV1::Policy]
663
- #
664
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
- # @raise [Google::Apis::AuthorizationError] Authorization is required
667
- def set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
668
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
669
- command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
670
- command.request_object = set_iam_policy_request_object
671
- command.response_representation = Google::Apis::IapV1::Policy::Representation
672
- command.response_class = Google::Apis::IapV1::Policy
673
- command.params['resource'] = resource unless resource.nil?
674
- command.query['fields'] = fields unless fields.nil?
675
- command.query['quotaUser'] = quota_user unless quota_user.nil?
676
- execute_or_queue_command(command, &block)
677
- end
678
-
679
- # Returns permissions that a caller has on the Identity-Aware Proxy protected
680
- # resource.
681
- # More information about managing access via IAP can be found at:
682
- # https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
683
- # @param [String] resource
684
- # REQUIRED: The resource for which the policy detail is being requested.
685
- # See the operation documentation for the appropriate value for this field.
686
- # @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_request_object
687
- # @param [String] fields
688
- # Selector specifying which fields to include in a partial response.
689
- # @param [String] quota_user
690
- # Available to use for quota purposes for server-side applications. Can be any
691
- # arbitrary string assigned to a user, but should not exceed 40 characters.
692
- # @param [Google::Apis::RequestOptions] options
693
- # Request-specific options
694
- #
695
- # @yield [result, err] Result & error if block supplied
696
- # @yieldparam result [Google::Apis::IapV1::TestIamPermissionsResponse] parsed result object
697
- # @yieldparam err [StandardError] error object if request failed
698
- #
699
- # @return [Google::Apis::IapV1::TestIamPermissionsResponse]
700
- #
701
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
702
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
703
- # @raise [Google::Apis::AuthorizationError] Authorization is required
704
- def test_version_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
149
+ def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
705
150
  command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
706
151
  command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
707
152
  command.request_object = test_iam_permissions_request_object