google-apis-servicedirectory_v1beta1 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/servicedirectory_v1beta1/classes.rb +28 -10
- data/lib/google/apis/servicedirectory_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/servicedirectory_v1beta1/representations.rb +3 -0
- data/lib/google/apis/servicedirectory_v1beta1/service.rb +106 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89be74e6af7ab0b68adeadf7cce4d98690a9fb4003066d59861cb1db28fddd61
|
4
|
+
data.tar.gz: 87f68314f86ab0d4b5a728099108bc93c2930feecbf8e7860317098d19ee8c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73abfdd8e23aed09f70952cbb8710f127361f60e125fdaf462ca0e26cdf0f57bfc097461ec50cb8b42ba2f102826914e304da0d5fa0f98163df85af302815228
|
7
|
+
data.tar.gz: 3874c5758ad63e3195e5e235b483e1a28ea4b21f68a6903350d5748af6df63d88a3c2493722e2729a549b8d922c01b5b131cefd83cccc55ede18922146b7c511
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.30.0 (2023-03-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230316
|
6
|
+
|
7
|
+
### v0.29.0 (2023-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230209
|
10
|
+
|
3
11
|
### v0.28.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -60,22 +60,22 @@ module Google
|
|
60
60
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
61
61
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
62
62
|
# email address that represents a Google group. For example, `admins@example.com`
|
63
|
-
# . * `
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# the
|
68
|
-
#
|
69
|
-
#
|
63
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
64
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
65
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
66
|
+
# representing a user that has been recently deleted. For example, `alice@
|
67
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
68
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
69
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
70
|
+
# (plus unique identifier) representing a service account that has been recently
|
71
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
70
72
|
# 123456789012345678901`. If the service account is undeleted, this value
|
71
73
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
72
74
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
73
75
|
# An email address (plus unique identifier) representing a Google group that has
|
74
76
|
# been recently deleted. For example, `admins@example.com?uid=
|
75
77
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
76
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
77
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
78
|
-
# of that domain. For example, `google.com` or `example.com`.
|
78
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
79
79
|
# Corresponds to the JSON property `members`
|
80
80
|
# @return [Array<String>]
|
81
81
|
attr_accessor :members
|
@@ -168,6 +168,11 @@ module Google
|
|
168
168
|
# @return [Fixnum]
|
169
169
|
attr_accessor :port
|
170
170
|
|
171
|
+
# Output only. A globally unique identifier (in UUID4 format) for this endpoint.
|
172
|
+
# Corresponds to the JSON property `uid`
|
173
|
+
# @return [String]
|
174
|
+
attr_accessor :uid
|
175
|
+
|
171
176
|
# Output only. The timestamp when the endpoint was last updated.
|
172
177
|
# Corresponds to the JSON property `updateTime`
|
173
178
|
# @return [String]
|
@@ -185,6 +190,7 @@ module Google
|
|
185
190
|
@name = args[:name] if args.key?(:name)
|
186
191
|
@network = args[:network] if args.key?(:network)
|
187
192
|
@port = args[:port] if args.key?(:port)
|
193
|
+
@uid = args[:uid] if args.key?(:uid)
|
188
194
|
@update_time = args[:update_time] if args.key?(:update_time)
|
189
195
|
end
|
190
196
|
end
|
@@ -463,6 +469,11 @@ module Google
|
|
463
469
|
# @return [String]
|
464
470
|
attr_accessor :name
|
465
471
|
|
472
|
+
# Output only. A globally unique identifier (in UUID4 format) for this namespace.
|
473
|
+
# Corresponds to the JSON property `uid`
|
474
|
+
# @return [String]
|
475
|
+
attr_accessor :uid
|
476
|
+
|
466
477
|
# Output only. The timestamp when the namespace was last updated.
|
467
478
|
# Corresponds to the JSON property `updateTime`
|
468
479
|
# @return [String]
|
@@ -477,6 +488,7 @@ module Google
|
|
477
488
|
@create_time = args[:create_time] if args.key?(:create_time)
|
478
489
|
@labels = args[:labels] if args.key?(:labels)
|
479
490
|
@name = args[:name] if args.key?(:name)
|
491
|
+
@uid = args[:uid] if args.key?(:uid)
|
480
492
|
@update_time = args[:update_time] if args.key?(:update_time)
|
481
493
|
end
|
482
494
|
end
|
@@ -678,6 +690,11 @@ module Google
|
|
678
690
|
# @return [String]
|
679
691
|
attr_accessor :name
|
680
692
|
|
693
|
+
# Output only. A globally unique identifier (in UUID4 format) for this service.
|
694
|
+
# Corresponds to the JSON property `uid`
|
695
|
+
# @return [String]
|
696
|
+
attr_accessor :uid
|
697
|
+
|
681
698
|
# Output only. The timestamp when the service was last updated. Note: endpoints
|
682
699
|
# being created/deleted/updated within the service are not considered service
|
683
700
|
# updates for the purpose of this timestamp.
|
@@ -695,6 +712,7 @@ module Google
|
|
695
712
|
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
696
713
|
@metadata = args[:metadata] if args.key?(:metadata)
|
697
714
|
@name = args[:name] if args.key?(:name)
|
715
|
+
@uid = args[:uid] if args.key?(:uid)
|
698
716
|
@update_time = args[:update_time] if args.key?(:update_time)
|
699
717
|
end
|
700
718
|
end
|
@@ -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.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230316"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -161,6 +161,7 @@ module Google
|
|
161
161
|
property :name, as: 'name'
|
162
162
|
property :network, as: 'network'
|
163
163
|
property :port, as: 'port'
|
164
|
+
property :uid, as: 'uid'
|
164
165
|
property :update_time, as: 'updateTime'
|
165
166
|
end
|
166
167
|
end
|
@@ -243,6 +244,7 @@ module Google
|
|
243
244
|
property :create_time, as: 'createTime'
|
244
245
|
hash :labels, as: 'labels'
|
245
246
|
property :name, as: 'name'
|
247
|
+
property :uid, as: 'uid'
|
246
248
|
property :update_time, as: 'updateTime'
|
247
249
|
end
|
248
250
|
end
|
@@ -281,6 +283,7 @@ module Google
|
|
281
283
|
|
282
284
|
hash :metadata, as: 'metadata'
|
283
285
|
property :name, as: 'name'
|
286
|
+
property :uid, as: 'uid'
|
284
287
|
property :update_time, as: 'updateTime'
|
285
288
|
end
|
286
289
|
end
|
@@ -1083,6 +1083,112 @@ module Google
|
|
1083
1083
|
execute_or_queue_command(command, &block)
|
1084
1084
|
end
|
1085
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_workload_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_workload_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_workload_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
|
1191
|
+
|
1086
1192
|
# Gets the IAM Policy for a resource
|
1087
1193
|
# @param [String] resource
|
1088
1194
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
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.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-04-02 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.30.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: []
|