google-apis-datamigration_v1 0.35.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2f424c807196b380cbc8f8de0b3930358da2a0e16a9e4f55702dd23f948eab
|
4
|
+
data.tar.gz: 9668f5b172b7161b61b531c30f35f89e7e33577f6309c4b7751ed92aba8ebff7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a43002c9bee11dcda80c89ddfaf096f34ef2c27c2dbaec3b4b6c0c15479af2689d12baef312839e49f6ee411b670e765d22678a44b4533830c2ca5d9928c2a
|
7
|
+
data.tar.gz: 96e17f209f0e0ada8782f4500804306ad4246203b1568dbe83fa6a95dafbc34988bb7e17272e5ba2d92f9a6925cdc7af0c8dc1f55ab2a520aafe95805bae25b8
|
data/CHANGELOG.md
CHANGED
@@ -2010,6 +2010,18 @@ module Google
|
|
2010
2010
|
class MigrationJob
|
2011
2011
|
include Google::Apis::Core::Hashable
|
2012
2012
|
|
2013
|
+
# The CMEK (customer-managed encryption key) fully qualified key name used for
|
2014
|
+
# the migration job. This field supports all migration jobs types except for: *
|
2015
|
+
# Mysql to Mysql (use the cmek field in the cloudsql connection profile instead).
|
2016
|
+
# * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection
|
2017
|
+
# profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the
|
2018
|
+
# alloydb connection profile instead). Each Cloud CMEK key has the following
|
2019
|
+
# format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[
|
2020
|
+
# KEY_NAME]
|
2021
|
+
# Corresponds to the JSON property `cmekKeyName`
|
2022
|
+
# @return [String]
|
2023
|
+
attr_accessor :cmek_key_name
|
2024
|
+
|
2013
2025
|
# A conversion workspace's version.
|
2014
2026
|
# Corresponds to the JSON property `conversionWorkspace`
|
2015
2027
|
# @return [Google::Apis::DatamigrationV1::ConversionWorkspaceInfo]
|
@@ -2155,6 +2167,7 @@ module Google
|
|
2155
2167
|
|
2156
2168
|
# Update properties of this object
|
2157
2169
|
def update!(**args)
|
2170
|
+
@cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name)
|
2158
2171
|
@conversion_workspace = args[:conversion_workspace] if args.key?(:conversion_workspace)
|
2159
2172
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2160
2173
|
@destination = args[:destination] if args.key?(:destination)
|
@@ -2575,7 +2588,7 @@ module Google
|
|
2575
2588
|
attr_accessor :port
|
2576
2589
|
|
2577
2590
|
# Private Service Connect connectivity (https://cloud.google.com/vpc/docs/
|
2578
|
-
# private-service-connect#
|
2591
|
+
# private-service-connect#service-attachments)
|
2579
2592
|
# Corresponds to the JSON property `privateServiceConnectConnectivity`
|
2580
2593
|
# @return [Google::Apis::DatamigrationV1::PrivateServiceConnectConnectivity]
|
2581
2594
|
attr_accessor :private_service_connect_connectivity
|
@@ -2756,7 +2769,7 @@ module Google
|
|
2756
2769
|
end
|
2757
2770
|
|
2758
2771
|
# Private Service Connect connectivity (https://cloud.google.com/vpc/docs/
|
2759
|
-
# private-service-connect#
|
2772
|
+
# private-service-connect#service-attachments)
|
2760
2773
|
class PrivateServiceConnectConnectivity
|
2761
2774
|
include Google::Apis::Core::Hashable
|
2762
2775
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.36.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 = "20230503"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1101,6 +1101,7 @@ module Google
|
|
1101
1101
|
class MigrationJob
|
1102
1102
|
# @private
|
1103
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
+
property :cmek_key_name, as: 'cmekKeyName'
|
1104
1105
|
property :conversion_workspace, as: 'conversionWorkspace', class: Google::Apis::DatamigrationV1::ConversionWorkspaceInfo, decorator: Google::Apis::DatamigrationV1::ConversionWorkspaceInfo::Representation
|
1105
1106
|
|
1106
1107
|
property :create_time, as: 'createTime'
|
@@ -2015,6 +2015,51 @@ module Google
|
|
2015
2015
|
execute_or_queue_command(command, &block)
|
2016
2016
|
end
|
2017
2017
|
|
2018
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2019
|
+
# resource exists and does not have a policy set.
|
2020
|
+
# @param [String] resource
|
2021
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2022
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2023
|
+
# appropriate value for this field.
|
2024
|
+
# @param [Fixnum] options_requested_policy_version
|
2025
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2026
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2027
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2028
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2029
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2030
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2031
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2032
|
+
# bindings, the response uses version 1. To learn which resources support
|
2033
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2034
|
+
# google.com/iam/help/conditions/resource-policies).
|
2035
|
+
# @param [String] fields
|
2036
|
+
# Selector specifying which fields to include in a partial response.
|
2037
|
+
# @param [String] quota_user
|
2038
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2039
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2040
|
+
# @param [Google::Apis::RequestOptions] options
|
2041
|
+
# Request-specific options
|
2042
|
+
#
|
2043
|
+
# @yield [result, err] Result & error if block supplied
|
2044
|
+
# @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
|
2045
|
+
# @yieldparam err [StandardError] error object if request failed
|
2046
|
+
#
|
2047
|
+
# @return [Google::Apis::DatamigrationV1::Policy]
|
2048
|
+
#
|
2049
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2050
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2051
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2052
|
+
def get_project_location_private_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2053
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2054
|
+
command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
|
2055
|
+
command.response_class = Google::Apis::DatamigrationV1::Policy
|
2056
|
+
command.params['resource'] = resource unless resource.nil?
|
2057
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2058
|
+
command.query['fields'] = fields unless fields.nil?
|
2059
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2060
|
+
execute_or_queue_command(command, &block)
|
2061
|
+
end
|
2062
|
+
|
2018
2063
|
# Retrieves a list of private connections in a given project and location.
|
2019
2064
|
# @param [String] parent
|
2020
2065
|
# Required. The parent that owns the collection of private connections.
|
@@ -2066,6 +2111,82 @@ module Google
|
|
2066
2111
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2067
2112
|
execute_or_queue_command(command, &block)
|
2068
2113
|
end
|
2114
|
+
|
2115
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2116
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2117
|
+
# PERMISSION_DENIED` errors.
|
2118
|
+
# @param [String] resource
|
2119
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2120
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2121
|
+
# appropriate value for this field.
|
2122
|
+
# @param [Google::Apis::DatamigrationV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2123
|
+
# @param [String] fields
|
2124
|
+
# Selector specifying which fields to include in a partial response.
|
2125
|
+
# @param [String] quota_user
|
2126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2128
|
+
# @param [Google::Apis::RequestOptions] options
|
2129
|
+
# Request-specific options
|
2130
|
+
#
|
2131
|
+
# @yield [result, err] Result & error if block supplied
|
2132
|
+
# @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
|
2133
|
+
# @yieldparam err [StandardError] error object if request failed
|
2134
|
+
#
|
2135
|
+
# @return [Google::Apis::DatamigrationV1::Policy]
|
2136
|
+
#
|
2137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2140
|
+
def set_private_connection_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2141
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2142
|
+
command.request_representation = Google::Apis::DatamigrationV1::SetIamPolicyRequest::Representation
|
2143
|
+
command.request_object = set_iam_policy_request_object
|
2144
|
+
command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
|
2145
|
+
command.response_class = Google::Apis::DatamigrationV1::Policy
|
2146
|
+
command.params['resource'] = resource unless resource.nil?
|
2147
|
+
command.query['fields'] = fields unless fields.nil?
|
2148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2149
|
+
execute_or_queue_command(command, &block)
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2153
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2154
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2155
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2156
|
+
# This operation may "fail open" without warning.
|
2157
|
+
# @param [String] resource
|
2158
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2159
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2160
|
+
# appropriate value for this field.
|
2161
|
+
# @param [Google::Apis::DatamigrationV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2162
|
+
# @param [String] fields
|
2163
|
+
# Selector specifying which fields to include in a partial response.
|
2164
|
+
# @param [String] quota_user
|
2165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2167
|
+
# @param [Google::Apis::RequestOptions] options
|
2168
|
+
# Request-specific options
|
2169
|
+
#
|
2170
|
+
# @yield [result, err] Result & error if block supplied
|
2171
|
+
# @yieldparam result [Google::Apis::DatamigrationV1::TestIamPermissionsResponse] parsed result object
|
2172
|
+
# @yieldparam err [StandardError] error object if request failed
|
2173
|
+
#
|
2174
|
+
# @return [Google::Apis::DatamigrationV1::TestIamPermissionsResponse]
|
2175
|
+
#
|
2176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
+
def test_private_connection_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2180
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2181
|
+
command.request_representation = Google::Apis::DatamigrationV1::TestIamPermissionsRequest::Representation
|
2182
|
+
command.request_object = test_iam_permissions_request_object
|
2183
|
+
command.response_representation = Google::Apis::DatamigrationV1::TestIamPermissionsResponse::Representation
|
2184
|
+
command.response_class = Google::Apis::DatamigrationV1::TestIamPermissionsResponse
|
2185
|
+
command.params['resource'] = resource unless resource.nil?
|
2186
|
+
command.query['fields'] = fields unless fields.nil?
|
2187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2188
|
+
execute_or_queue_command(command, &block)
|
2189
|
+
end
|
2069
2190
|
|
2070
2191
|
protected
|
2071
2192
|
|
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.
|
4
|
+
version: 0.36.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-
|
11
|
+
date: 2023-05-14 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.36.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: []
|