google-apis-servicedirectory_v1beta1 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fa1c6e21999c7bf2a60f22b888b0c663e71d86bff5562e69d0c0251c061809a
|
4
|
+
data.tar.gz: 4c086821035a592e63664f2879d559dd9fff46b05316688e61227e151bfffea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d84f3b8f5decf937adc86d36b26b605a84a78b40d6b21e4fb6881d7035ea7e8895ceaece8c22227cb84def18131a83a8937c0b3b87c25b2dabeed72c5fe9e9cf
|
7
|
+
data.tar.gz: 6719139afa2accd5a66b27a37da88989ef7ddac895eb4f2f700643bf8bb205f72ed1442e06643e4f39e5d783d6103862e17ea6d04d948359560a972c8bdc096f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.23.0 (2022-07-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220720
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
3
8
|
### v0.22.0 (2022-07-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220622
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicedirectoryV1beta1
|
18
18
|
# Version of the google-apis-servicedirectory_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220720"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
execute_or_queue_command(command, &block)
|
227
227
|
end
|
228
228
|
|
229
|
-
# Gets the IAM Policy for a resource
|
229
|
+
# Gets the IAM Policy for a resource
|
230
230
|
# @param [String] resource
|
231
231
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
232
232
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
execute_or_queue_command(command, &block)
|
362
362
|
end
|
363
363
|
|
364
|
-
# Sets the IAM Policy for a resource
|
364
|
+
# Sets the IAM Policy for a resource
|
365
365
|
# @param [String] resource
|
366
366
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
367
367
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -432,7 +432,7 @@ module Google
|
|
432
432
|
execute_or_queue_command(command, &block)
|
433
433
|
end
|
434
434
|
|
435
|
-
# Gets the IAM Policy for a resource
|
435
|
+
# Gets the IAM Policy for a resource
|
436
436
|
# @param [String] resource
|
437
437
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
438
438
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -467,7 +467,7 @@ module Google
|
|
467
467
|
execute_or_queue_command(command, &block)
|
468
468
|
end
|
469
469
|
|
470
|
-
# Sets the IAM Policy for a resource
|
470
|
+
# Sets the IAM Policy for a resource
|
471
471
|
# @param [String] resource
|
472
472
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
473
473
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -639,7 +639,7 @@ module Google
|
|
639
639
|
execute_or_queue_command(command, &block)
|
640
640
|
end
|
641
641
|
|
642
|
-
# Gets the IAM Policy for a resource
|
642
|
+
# Gets the IAM Policy for a resource
|
643
643
|
# @param [String] resource
|
644
644
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
645
645
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -807,7 +807,7 @@ module Google
|
|
807
807
|
execute_or_queue_command(command, &block)
|
808
808
|
end
|
809
809
|
|
810
|
-
# Sets the IAM Policy for a resource
|
810
|
+
# Sets the IAM Policy for a resource
|
811
811
|
# @param [String] resource
|
812
812
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
813
813
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -1082,6 +1082,112 @@ module Google
|
|
1082
1082
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1083
1083
|
execute_or_queue_command(command, &block)
|
1084
1084
|
end
|
1085
|
+
|
1086
|
+
# Gets the IAM Policy for a resource
|
1087
|
+
# @param [String] resource
|
1088
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1089
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1090
|
+
# appropriate value for this field.
|
1091
|
+
# @param [Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
1092
|
+
# @param [String] fields
|
1093
|
+
# Selector specifying which fields to include in a partial response.
|
1094
|
+
# @param [String] quota_user
|
1095
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1096
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1097
|
+
# @param [Google::Apis::RequestOptions] options
|
1098
|
+
# Request-specific options
|
1099
|
+
#
|
1100
|
+
# @yield [result, err] Result & error if block supplied
|
1101
|
+
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
1102
|
+
# @yieldparam err [StandardError] error object if request failed
|
1103
|
+
#
|
1104
|
+
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
1105
|
+
#
|
1106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1109
|
+
def get_registration_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1110
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
1111
|
+
command.request_representation = Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest::Representation
|
1112
|
+
command.request_object = get_iam_policy_request_object
|
1113
|
+
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
1114
|
+
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
1115
|
+
command.params['resource'] = resource unless resource.nil?
|
1116
|
+
command.query['fields'] = fields unless fields.nil?
|
1117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1118
|
+
execute_or_queue_command(command, &block)
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# Sets the IAM Policy for a resource
|
1122
|
+
# @param [String] resource
|
1123
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1124
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1125
|
+
# appropriate value for this field.
|
1126
|
+
# @param [Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
1127
|
+
# @param [String] fields
|
1128
|
+
# Selector specifying which fields to include in a partial response.
|
1129
|
+
# @param [String] quota_user
|
1130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1132
|
+
# @param [Google::Apis::RequestOptions] options
|
1133
|
+
# Request-specific options
|
1134
|
+
#
|
1135
|
+
# @yield [result, err] Result & error if block supplied
|
1136
|
+
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
1137
|
+
# @yieldparam err [StandardError] error object if request failed
|
1138
|
+
#
|
1139
|
+
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
1140
|
+
#
|
1141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1144
|
+
def set_registration_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1145
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
1146
|
+
command.request_representation = Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest::Representation
|
1147
|
+
command.request_object = set_iam_policy_request_object
|
1148
|
+
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
1149
|
+
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
1150
|
+
command.params['resource'] = resource unless resource.nil?
|
1151
|
+
command.query['fields'] = fields unless fields.nil?
|
1152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1153
|
+
execute_or_queue_command(command, &block)
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# Tests IAM permissions for a resource (namespace, service or service workload
|
1157
|
+
# only).
|
1158
|
+
# @param [String] resource
|
1159
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1160
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1161
|
+
# appropriate value for this field.
|
1162
|
+
# @param [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1163
|
+
# @param [String] fields
|
1164
|
+
# Selector specifying which fields to include in a partial response.
|
1165
|
+
# @param [String] quota_user
|
1166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1168
|
+
# @param [Google::Apis::RequestOptions] options
|
1169
|
+
# Request-specific options
|
1170
|
+
#
|
1171
|
+
# @yield [result, err] Result & error if block supplied
|
1172
|
+
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse] parsed result object
|
1173
|
+
# @yieldparam err [StandardError] error object if request failed
|
1174
|
+
#
|
1175
|
+
# @return [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse]
|
1176
|
+
#
|
1177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1180
|
+
def test_registration_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1181
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
1182
|
+
command.request_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest::Representation
|
1183
|
+
command.request_object = test_iam_permissions_request_object
|
1184
|
+
command.response_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse::Representation
|
1185
|
+
command.response_class = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse
|
1186
|
+
command.params['resource'] = resource unless resource.nil?
|
1187
|
+
command.query['fields'] = fields unless fields.nil?
|
1188
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1189
|
+
execute_or_queue_command(command, &block)
|
1190
|
+
end
|
1085
1191
|
|
1086
1192
|
protected
|
1087
1193
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicedirectory_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|