google-apis-datamigration_v1 0.59.0 → 0.60.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: a3dc54771bf3f05fdb00d0648300ef6b1ab80e758ad8f83ddce0d40ca0333986
4
- data.tar.gz: c977e56145bc6015cc79b9b23306aa99101c293a445b1253a76c71d8e0460481
3
+ metadata.gz: 8386880b06aa60b14f678c825f1bccf96a9162fb89be139d9b27009ed97de17e
4
+ data.tar.gz: a057d86996a3dcbde00df6367d87f7aa977bad521a05d89ae21c9f74b5d3c755
5
5
  SHA512:
6
- metadata.gz: 160988737e0d9fcc2cd95d83d2fbf61eafef106248f37e48086b5d42230cf40c53bdd1d57455c8bce914f8288f0e8400f0fba01048adfab3a197e1a2667ac030
7
- data.tar.gz: 10c3eea0c06eca61eaf1b9dc038e7737d0446a7321ee9b31caf9cdda523e82922d12b6675727eb60c1313221afba4db942ed6751cdaba715379829a6911c2e31
6
+ metadata.gz: 69205127733b391bd96ed99486cb8180715257ec3dbbc2e11e083d685a7c803ed635c0b7b59bafb85677b84b6e2263029bd837a02decd0436c96665299a52ce2
7
+ data.tar.gz: e5b97cfab190e5e19c20b90ee0958b1d811f122e69c6b7df1afe512d6028d60131b4efe65ac2ffc076dd2879fe204062798ddf7e8d7b3a1beb6e867f0e0bf4eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.60.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240812
6
+
3
7
  ### v0.59.0 (2024-08-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20240721
@@ -3287,6 +3287,62 @@ module Google
3287
3287
  end
3288
3288
  end
3289
3289
 
3290
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
3291
+ class OracleAsmConfig
3292
+ include Google::Apis::Core::Hashable
3293
+
3294
+ # Required. ASM service name for the Oracle ASM connection.
3295
+ # Corresponds to the JSON property `asmService`
3296
+ # @return [String]
3297
+ attr_accessor :asm_service
3298
+
3299
+ # Required. Hostname for the Oracle ASM connection.
3300
+ # Corresponds to the JSON property `hostname`
3301
+ # @return [String]
3302
+ attr_accessor :hostname
3303
+
3304
+ # Required. Input only. Password for the Oracle ASM connection.
3305
+ # Corresponds to the JSON property `password`
3306
+ # @return [String]
3307
+ attr_accessor :password
3308
+
3309
+ # Output only. Indicates whether a new password is included in the request.
3310
+ # Corresponds to the JSON property `passwordSet`
3311
+ # @return [Boolean]
3312
+ attr_accessor :password_set
3313
+ alias_method :password_set?, :password_set
3314
+
3315
+ # Required. Port for the Oracle ASM connection.
3316
+ # Corresponds to the JSON property `port`
3317
+ # @return [Fixnum]
3318
+ attr_accessor :port
3319
+
3320
+ # SSL configuration information.
3321
+ # Corresponds to the JSON property `ssl`
3322
+ # @return [Google::Apis::DatamigrationV1::SslConfig]
3323
+ attr_accessor :ssl
3324
+
3325
+ # Required. Username for the Oracle ASM connection.
3326
+ # Corresponds to the JSON property `username`
3327
+ # @return [String]
3328
+ attr_accessor :username
3329
+
3330
+ def initialize(**args)
3331
+ update!(**args)
3332
+ end
3333
+
3334
+ # Update properties of this object
3335
+ def update!(**args)
3336
+ @asm_service = args[:asm_service] if args.key?(:asm_service)
3337
+ @hostname = args[:hostname] if args.key?(:hostname)
3338
+ @password = args[:password] if args.key?(:password)
3339
+ @password_set = args[:password_set] if args.key?(:password_set)
3340
+ @port = args[:port] if args.key?(:port)
3341
+ @ssl = args[:ssl] if args.key?(:ssl)
3342
+ @username = args[:username] if args.key?(:username)
3343
+ end
3344
+ end
3345
+
3290
3346
  # Specifies connection parameters required specifically for Oracle databases.
3291
3347
  class OracleConnectionProfile
3292
3348
  include Google::Apis::Core::Hashable
@@ -3306,6 +3362,11 @@ module Google
3306
3362
  # @return [String]
3307
3363
  attr_accessor :host
3308
3364
 
3365
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
3366
+ # Corresponds to the JSON property `oracleAsmConfig`
3367
+ # @return [Google::Apis::DatamigrationV1::OracleAsmConfig]
3368
+ attr_accessor :oracle_asm_config
3369
+
3309
3370
  # Required. Input only. The password for the user that Database Migration
3310
3371
  # Service will be using to connect to the database. This field is not returned
3311
3372
  # on request, and the value is encrypted when stored in Database Migration
@@ -3355,6 +3416,7 @@ module Google
3355
3416
  @database_service = args[:database_service] if args.key?(:database_service)
3356
3417
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
3357
3418
  @host = args[:host] if args.key?(:host)
3419
+ @oracle_asm_config = args[:oracle_asm_config] if args.key?(:oracle_asm_config)
3358
3420
  @password = args[:password] if args.key?(:password)
3359
3421
  @password_set = args[:password_set] if args.key?(:password_set)
3360
3422
  @port = args[:port] if args.key?(:port)
@@ -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.59.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240721"
25
+ REVISION = "20240812"
26
26
  end
27
27
  end
28
28
  end
@@ -448,6 +448,12 @@ module Google
448
448
  include Google::Apis::Core::JsonObjectSupport
449
449
  end
450
450
 
451
+ class OracleAsmConfig
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
451
457
  class OracleConnectionProfile
452
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
459
 
@@ -1641,6 +1647,20 @@ module Google
1641
1647
  end
1642
1648
  end
1643
1649
 
1650
+ class OracleAsmConfig
1651
+ # @private
1652
+ class Representation < Google::Apis::Core::JsonRepresentation
1653
+ property :asm_service, as: 'asmService'
1654
+ property :hostname, as: 'hostname'
1655
+ property :password, as: 'password'
1656
+ property :password_set, as: 'passwordSet'
1657
+ property :port, as: 'port'
1658
+ property :ssl, as: 'ssl', class: Google::Apis::DatamigrationV1::SslConfig, decorator: Google::Apis::DatamigrationV1::SslConfig::Representation
1659
+
1660
+ property :username, as: 'username'
1661
+ end
1662
+ end
1663
+
1644
1664
  class OracleConnectionProfile
1645
1665
  # @private
1646
1666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1648,6 +1668,8 @@ module Google
1648
1668
  property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity::Representation
1649
1669
 
1650
1670
  property :host, as: 'host'
1671
+ property :oracle_asm_config, as: 'oracleAsmConfig', class: Google::Apis::DatamigrationV1::OracleAsmConfig, decorator: Google::Apis::DatamigrationV1::OracleAsmConfig::Representation
1672
+
1651
1673
  property :password, as: 'password'
1652
1674
  property :password_set, as: 'passwordSet'
1653
1675
  property :port, as: 'port'
@@ -1991,6 +1991,127 @@ module Google
1991
1991
  execute_or_queue_command(command, &block)
1992
1992
  end
1993
1993
 
1994
+ # Gets the access control policy for a resource. Returns an empty policy if the
1995
+ # resource exists and does not have a policy set.
1996
+ # @param [String] resource
1997
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1998
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1999
+ # appropriate value for this field.
2000
+ # @param [Fixnum] options_requested_policy_version
2001
+ # Optional. The maximum policy version that will be used to format the policy.
2002
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2003
+ # rejected. Requests for policies with any conditional role bindings must
2004
+ # specify version 3. Policies with no conditional role bindings may specify any
2005
+ # valid value or leave the field unset. The policy in the response might use the
2006
+ # policy version that you specified, or it might use a lower policy version. For
2007
+ # example, if you specify version 3, but the policy has no conditional role
2008
+ # bindings, the response uses version 1. To learn which resources support
2009
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2010
+ # google.com/iam/help/conditions/resource-policies).
2011
+ # @param [String] fields
2012
+ # Selector specifying which fields to include in a partial response.
2013
+ # @param [String] quota_user
2014
+ # Available to use for quota purposes for server-side applications. Can be any
2015
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2016
+ # @param [Google::Apis::RequestOptions] options
2017
+ # Request-specific options
2018
+ #
2019
+ # @yield [result, err] Result & error if block supplied
2020
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
2021
+ # @yieldparam err [StandardError] error object if request failed
2022
+ #
2023
+ # @return [Google::Apis::DatamigrationV1::Policy]
2024
+ #
2025
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2026
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2027
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2028
+ def get_project_location_migration_job_object_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2029
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2030
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
2031
+ command.response_class = Google::Apis::DatamigrationV1::Policy
2032
+ command.params['resource'] = resource unless resource.nil?
2033
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2034
+ command.query['fields'] = fields unless fields.nil?
2035
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2036
+ execute_or_queue_command(command, &block)
2037
+ end
2038
+
2039
+ # Sets the access control policy on the specified resource. Replaces any
2040
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2041
+ # PERMISSION_DENIED` errors.
2042
+ # @param [String] resource
2043
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2044
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2045
+ # appropriate value for this field.
2046
+ # @param [Google::Apis::DatamigrationV1::SetIamPolicyRequest] set_iam_policy_request_object
2047
+ # @param [String] fields
2048
+ # Selector specifying which fields to include in a partial response.
2049
+ # @param [String] quota_user
2050
+ # Available to use for quota purposes for server-side applications. Can be any
2051
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2052
+ # @param [Google::Apis::RequestOptions] options
2053
+ # Request-specific options
2054
+ #
2055
+ # @yield [result, err] Result & error if block supplied
2056
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
2057
+ # @yieldparam err [StandardError] error object if request failed
2058
+ #
2059
+ # @return [Google::Apis::DatamigrationV1::Policy]
2060
+ #
2061
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2062
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2063
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2064
+ def set_object_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2065
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2066
+ command.request_representation = Google::Apis::DatamigrationV1::SetIamPolicyRequest::Representation
2067
+ command.request_object = set_iam_policy_request_object
2068
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
2069
+ command.response_class = Google::Apis::DatamigrationV1::Policy
2070
+ command.params['resource'] = resource unless resource.nil?
2071
+ command.query['fields'] = fields unless fields.nil?
2072
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2073
+ execute_or_queue_command(command, &block)
2074
+ end
2075
+
2076
+ # Returns permissions that a caller has on the specified resource. If the
2077
+ # resource does not exist, this will return an empty set of permissions, not a `
2078
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2079
+ # permission-aware UIs and command-line tools, not for authorization checking.
2080
+ # This operation may "fail open" without warning.
2081
+ # @param [String] resource
2082
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2083
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2084
+ # appropriate value for this field.
2085
+ # @param [Google::Apis::DatamigrationV1::TestIamPermissionsRequest] test_iam_permissions_request_object
2086
+ # @param [String] fields
2087
+ # Selector specifying which fields to include in a partial response.
2088
+ # @param [String] quota_user
2089
+ # Available to use for quota purposes for server-side applications. Can be any
2090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2091
+ # @param [Google::Apis::RequestOptions] options
2092
+ # Request-specific options
2093
+ #
2094
+ # @yield [result, err] Result & error if block supplied
2095
+ # @yieldparam result [Google::Apis::DatamigrationV1::TestIamPermissionsResponse] parsed result object
2096
+ # @yieldparam err [StandardError] error object if request failed
2097
+ #
2098
+ # @return [Google::Apis::DatamigrationV1::TestIamPermissionsResponse]
2099
+ #
2100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2103
+ def test_object_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2104
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2105
+ command.request_representation = Google::Apis::DatamigrationV1::TestIamPermissionsRequest::Representation
2106
+ command.request_object = test_iam_permissions_request_object
2107
+ command.response_representation = Google::Apis::DatamigrationV1::TestIamPermissionsResponse::Representation
2108
+ command.response_class = Google::Apis::DatamigrationV1::TestIamPermissionsResponse
2109
+ command.params['resource'] = resource unless resource.nil?
2110
+ command.query['fields'] = fields unless fields.nil?
2111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2112
+ execute_or_queue_command(command, &block)
2113
+ end
2114
+
1994
2115
  # Starts asynchronous cancellation on a long-running operation. The server makes
1995
2116
  # a best effort to cancel the operation, but success is not guaranteed. If the
1996
2117
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.59.0
4
+ version: 0.60.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: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-08-18 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.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.60.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: []