google-apis-servicedirectory_v1beta1 0.28.0 → 0.29.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: 1102e4a86872c5359dd49d0e64ab4fc6834c348464d9fdf532f2d68351f0580a
4
- data.tar.gz: 869a50ce7b94478c52e14f87fa51153405a3bcd66d8385ffa0a12ef4005d40ad
3
+ metadata.gz: 1a387ec0352c665085b4377c883613a164e8d90b23208b7713bb6e18beebd31b
4
+ data.tar.gz: d679fc25cb699ff5354488a1c8b29cd4fb429ef7fe41e93a848023c859a60635
5
5
  SHA512:
6
- metadata.gz: 198bb533132dfce1bbe1d3ac13e7c8429a7cd3686234404f0fe7b0fbe90311059d0fe3c684ccd0313ac77d2f828f63c37845593e2016c58f5341430d9ad9b48e
7
- data.tar.gz: a98ec53c7298caac30d8bdf0733049366cf0b7f964b47a76af4f295e4ceea7c0bbc5f9570522dc03ce641ab4756c5bedd56f4ad305b61754afb9345322dc3b78
6
+ metadata.gz: 13f3409b6092a6b0e92265847bfd13ab98a92a09c30ea34f2b88e0a7f50cde3fe70c911a9a56edb8450d8438c2bd7ad8faa686d2cc725c608fb86515c71eede5
7
+ data.tar.gz: 9a0acf5526c9d15a473eb5c9dcf67f8d75e3e9938f6a236cdcd08ff06f3aabcf304ae0944106d6b3ca5d8eb5980363bb8d0a142b85484c4d89107f2c12bbec1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicedirectory_v1beta1
2
2
 
3
+ ### v0.29.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230209
6
+
3
7
  ### v0.28.0 (2023-02-15)
4
8
 
5
9
  * 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
- # . * `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=
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
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.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 = "20220824"
25
+ REVISION = "20230209"
26
26
  end
27
27
  end
28
28
  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.28.0
4
+ version: 0.29.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-19 00:00:00.000000000 Z
11
+ date: 2023-02-26 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.29.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: []