google-apis-datamigration_v1 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: db5f7567bfb850d0f385845087e31250d62f12e6fccfe4c3ba8ab9ce6f31b518
4
- data.tar.gz: 89857d43689bd637807478078310c9a2a04d4106811d24b261db6859c6fceb9b
3
+ metadata.gz: 44834eaea4d9d5a404e0e430c7019715e5910768182ee83b65ad4fe25b7ca5dd
4
+ data.tar.gz: 9fd7af6ec9a809816ecb121b0bf641c27c14c39f85c76c71ec1550a7d12cbc1c
5
5
  SHA512:
6
- metadata.gz: 9a3721baaaf69d76d9577f2e27015f78f5825cd4da53f725f7fd50f78bba60fb96e407ceddcc29c8e51cbecef54b45427d9b2bb27e0c64ccce13e8b310a02219
7
- data.tar.gz: 7f85c1c3affc944c3674fdb5ce349dd65f97566bed29576b55bc76e9cc06e96f8b4ae184ce8752d917cfd96ebd770a9935a5383caafb20fab03085cad367ef43
6
+ metadata.gz: cd56d0bc563a5d5d55b8e6955f321168b06f3619fe0a51a777d5ae71161a7d2c5009042d1b53b4f96b03d58ab4153acfb937bc65e97d66ab2cacdd8e7db007f4
7
+ data.tar.gz: 3f3e8a56ed74492723475a20f7e2c0fc70b3820b258a671fbceac91ea22f8a170f4c652c3ecc838500c9ef62f52180b1ddfd78c0543ab03b3020c99fd5a06b4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.29.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230125
6
+
3
7
  ### v0.28.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230118
@@ -297,22 +297,22 @@ module Google
297
297
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
298
298
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
299
299
  # email address that represents a Google group. For example, `admins@example.com`
300
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
301
- # identifier) representing a user that has been recently deleted. For example, `
302
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
303
- # value reverts to `user:`emailid`` and the recovered user retains the role in
304
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
305
- # address (plus unique identifier) representing a service account that has been
306
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
300
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
301
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
302
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
303
+ # representing a user that has been recently deleted. For example, `alice@
304
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
305
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
306
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
307
+ # (plus unique identifier) representing a service account that has been recently
308
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
307
309
  # 123456789012345678901`. If the service account is undeleted, this value
308
310
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
309
311
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
310
312
  # An email address (plus unique identifier) representing a Google group that has
311
313
  # been recently deleted. For example, `admins@example.com?uid=
312
314
  # 123456789012345678901`. If the group is recovered, this value reverts to `
313
- # group:`emailid`` and the recovered group retains the role in the binding. * `
314
- # domain:`domain``: The G Suite domain (primary) that represents all the users
315
- # of that domain. For example, `google.com` or `example.com`.
315
+ # group:`emailid`` and the recovered group retains the role in the binding.
316
316
  # Corresponds to the JSON property `members`
317
317
  # @return [Array<String>]
318
318
  attr_accessor :members
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1
18
18
  # Version of the google-apis-datamigration_v1 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.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230118"
25
+ REVISION = "20230125"
26
26
  end
27
27
  end
28
28
  end
@@ -781,6 +781,51 @@ module Google
781
781
  execute_or_queue_command(command, &block)
782
782
  end
783
783
 
784
+ # Gets the access control policy for a resource. Returns an empty policy if the
785
+ # resource exists and does not have a policy set.
786
+ # @param [String] resource
787
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
788
+ # names](https://cloud.google.com/apis/design/resource_names) for the
789
+ # appropriate value for this field.
790
+ # @param [Fixnum] options_requested_policy_version
791
+ # Optional. The maximum policy version that will be used to format the policy.
792
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
793
+ # rejected. Requests for policies with any conditional role bindings must
794
+ # specify version 3. Policies with no conditional role bindings may specify any
795
+ # valid value or leave the field unset. The policy in the response might use the
796
+ # policy version that you specified, or it might use a lower policy version. For
797
+ # example, if you specify version 3, but the policy has no conditional role
798
+ # bindings, the response uses version 1. To learn which resources support
799
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
800
+ # google.com/iam/help/conditions/resource-policies).
801
+ # @param [String] fields
802
+ # Selector specifying which fields to include in a partial response.
803
+ # @param [String] quota_user
804
+ # Available to use for quota purposes for server-side applications. Can be any
805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
806
+ # @param [Google::Apis::RequestOptions] options
807
+ # Request-specific options
808
+ #
809
+ # @yield [result, err] Result & error if block supplied
810
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
811
+ # @yieldparam err [StandardError] error object if request failed
812
+ #
813
+ # @return [Google::Apis::DatamigrationV1::Policy]
814
+ #
815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
818
+ def get_project_location_conversion_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
819
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
820
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
821
+ command.response_class = Google::Apis::DatamigrationV1::Policy
822
+ command.params['resource'] = resource unless resource.nil?
823
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
824
+ command.query['fields'] = fields unless fields.nil?
825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
826
+ execute_or_queue_command(command, &block)
827
+ end
828
+
784
829
  # Lists conversion workspaces in a given project and location.
785
830
  # @param [String] parent
786
831
  # Required. The parent, which owns this collection of conversion workspaces.
@@ -992,6 +1037,82 @@ module Google
992
1037
  execute_or_queue_command(command, &block)
993
1038
  end
994
1039
 
1040
+ # Sets the access control policy on the specified resource. Replaces any
1041
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1042
+ # PERMISSION_DENIED` errors.
1043
+ # @param [String] resource
1044
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1045
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1046
+ # appropriate value for this field.
1047
+ # @param [Google::Apis::DatamigrationV1::SetIamPolicyRequest] set_iam_policy_request_object
1048
+ # @param [String] fields
1049
+ # Selector specifying which fields to include in a partial response.
1050
+ # @param [String] quota_user
1051
+ # Available to use for quota purposes for server-side applications. Can be any
1052
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1053
+ # @param [Google::Apis::RequestOptions] options
1054
+ # Request-specific options
1055
+ #
1056
+ # @yield [result, err] Result & error if block supplied
1057
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
1058
+ # @yieldparam err [StandardError] error object if request failed
1059
+ #
1060
+ # @return [Google::Apis::DatamigrationV1::Policy]
1061
+ #
1062
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1063
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1064
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1065
+ def set_conversion_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1066
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1067
+ command.request_representation = Google::Apis::DatamigrationV1::SetIamPolicyRequest::Representation
1068
+ command.request_object = set_iam_policy_request_object
1069
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
1070
+ command.response_class = Google::Apis::DatamigrationV1::Policy
1071
+ command.params['resource'] = resource unless resource.nil?
1072
+ command.query['fields'] = fields unless fields.nil?
1073
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1074
+ execute_or_queue_command(command, &block)
1075
+ end
1076
+
1077
+ # Returns permissions that a caller has on the specified resource. If the
1078
+ # resource does not exist, this will return an empty set of permissions, not a `
1079
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1080
+ # permission-aware UIs and command-line tools, not for authorization checking.
1081
+ # This operation may "fail open" without warning.
1082
+ # @param [String] resource
1083
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1084
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1085
+ # appropriate value for this field.
1086
+ # @param [Google::Apis::DatamigrationV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1087
+ # @param [String] fields
1088
+ # Selector specifying which fields to include in a partial response.
1089
+ # @param [String] quota_user
1090
+ # Available to use for quota purposes for server-side applications. Can be any
1091
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1092
+ # @param [Google::Apis::RequestOptions] options
1093
+ # Request-specific options
1094
+ #
1095
+ # @yield [result, err] Result & error if block supplied
1096
+ # @yieldparam result [Google::Apis::DatamigrationV1::TestIamPermissionsResponse] parsed result object
1097
+ # @yieldparam err [StandardError] error object if request failed
1098
+ #
1099
+ # @return [Google::Apis::DatamigrationV1::TestIamPermissionsResponse]
1100
+ #
1101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1104
+ def test_conversion_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1105
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1106
+ command.request_representation = Google::Apis::DatamigrationV1::TestIamPermissionsRequest::Representation
1107
+ command.request_object = test_iam_permissions_request_object
1108
+ command.response_representation = Google::Apis::DatamigrationV1::TestIamPermissionsResponse::Representation
1109
+ command.response_class = Google::Apis::DatamigrationV1::TestIamPermissionsResponse
1110
+ command.params['resource'] = resource unless resource.nil?
1111
+ command.query['fields'] = fields unless fields.nil?
1112
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1113
+ execute_or_queue_command(command, &block)
1114
+ end
1115
+
995
1116
  # Imports the mapping rules for a given conversion workspace. Supports various
996
1117
  # formats of external rules files.
997
1118
  # @param [String] parent
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
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-01-29 00:00:00.000000000 Z
11
+ date: 2023-02-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-datamigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []