google-apis-servicedirectory_v1beta1 0.22.0 → 0.25.0

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: a1dffa451a1a7ae40015044f3ff96c3308833a4fb314fb44dcfffd610d423f15
4
- data.tar.gz: 0cb4c2e7132a214c3114986ffaed85ea577bae42170f9efe8d88a2cc3b5dc5e5
3
+ metadata.gz: dd486e582b1a8caa9b4b29c25797b27ac53ce93272099cf2fa94ddf7357946bc
4
+ data.tar.gz: 8c6ffe6c2288264083bcd5d552626b2d28a588326174a4b58b69abb15d6212c5
5
5
  SHA512:
6
- metadata.gz: 4565ae30368f0d967038e021a0c1ba1b7c42111f9868dbd3b35f5a2cec73fb336d3558acad012ea683bdaa48047db834c5b75cae0bca0ba77a90bcbb9c749ae8
7
- data.tar.gz: 8e644de60ad70a15120dbe3ee478597efb368fc532ae8e667550bfe428295cd460230f2d17c7819799b15f69506918b63be83816cbecccb8b6c85a255e4c1fc7
6
+ metadata.gz: ddab98566176e66a60e708c9c68c3275536c4694f6b0a1d0340b7a98b279beaf1629b35a2e51b28850e2d0d65266d88dd590e21041f317ad5fe959ca71f9c57d
7
+ data.tar.gz: d55095b59269d686bf1fd7b4815d17d192910b0e478d70d589c6ef587511897f34e550825c12de6e877102b22d866eeae05c46b05421518c339ca8ed30f709b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicedirectory_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-09-05)
4
+
5
+ * Regenerated from discovery document revision 20220824
6
+
7
+ ### v0.24.0 (2022-08-16)
8
+
9
+ * Regenerated from discovery document revision 20220804
10
+
11
+ ### v0.23.0 (2022-07-30)
12
+
13
+ * Regenerated from discovery document revision 20220720
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.22.0 (2022-07-03)
4
17
 
5
18
  * Regenerated from discovery document revision 20220622
@@ -49,28 +49,33 @@ module Google
49
49
  # members` can have the following values: * `allUsers`: A special identifier
50
50
  # that represents anyone who is on the internet; with or without a Google
51
51
  # account. * `allAuthenticatedUsers`: A special identifier that represents
52
- # anyone who is authenticated with a Google account or a service account. * `
53
- # user:`emailid``: An email address that represents a specific Google account.
54
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
55
- # address that represents a service account. For example, `my-other-app@appspot.
56
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
57
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
58
- # `uniqueid``: An email address (plus unique identifier) representing a user
59
- # that has been recently deleted. For example, `alice@example.com?uid=
60
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
61
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
62
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
63
- # identifier) representing a service account that has been recently deleted. For
64
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
65
- # If the service account is undeleted, this value reverts to `serviceAccount:`
66
- # emailid`` and the undeleted service account retains the role in the binding. *
67
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
68
- # identifier) representing a Google group that has been recently deleted. For
69
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
70
- # recovered, this value reverts to `group:`emailid`` and the recovered group
71
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
72
- # primary) that represents all the users of that domain. For example, `google.
73
- # com` or `example.com`.
52
+ # anyone who is authenticated with a Google account or a service account. Does
53
+ # not include identities that come from external identity providers (IdPs)
54
+ # through identity federation. * `user:`emailid``: An email address that
55
+ # represents a specific Google account. For example, `alice@example.com` . * `
56
+ # serviceAccount:`emailid``: An email address that represents a Google service
57
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
58
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
59
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
60
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
61
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
62
+ # email address that represents a Google group. For example, `admins@example.com`
63
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
64
+ # identifier) representing a user that has been recently deleted. For example, `
65
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
66
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
67
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
68
+ # address (plus unique identifier) representing a service account that has been
69
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
70
+ # 123456789012345678901`. If the service account is undeleted, this value
71
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
72
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
73
+ # An email address (plus unique identifier) representing a Google group that has
74
+ # been recently deleted. For example, `admins@example.com?uid=
75
+ # 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`.
74
79
  # Corresponds to the JSON property `members`
75
80
  # @return [Array<String>]
76
81
  attr_accessor :members
@@ -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.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220622"
25
+ REVISION = "20220824"
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 (namespace or service only).
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 (namespace or service only).
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 (namespace or service only).
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 (namespace or service only).
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 (namespace or service only).
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 (namespace or service only).
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.22.0
4
+ version: 0.25.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.25.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: []